XML 16 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Operating activities    
Net income (loss) $ 147,252 $ (31,064)
Adjustments to reconcile net income to net cash flows from operating activities:    
Depreciation, amortization and accretion 36,048 30,088
Impairment of long-lived assets 0 9,540
Asset retirement obligation acceleration 1,229 0
Amortization of debt related costs 737 430
Changes in fair value of contingent assets and liabilities 25,400 28,500
Gain on extinguishment of debt 0 (889)
Provision for excess and obsolete inventory 4,980 2,317
Stock-based compensation 21,138 11,772
Gain on sale of assets 0 (15,263)
Deferred taxes 14,461 1,028
Long-term income tax receivable 668 3,092
Long-term income tax payable and other long-term liabilities (538) (3,617)
Other 3,188 1,724
(Decreases) increases in cash from operating assets and liabilities:    
Accounts receivable (112,031) (7,721)
Inventory (4,666) (625)
Other current assets 314 1,998
Other long-term assets (533) 0
Accounts payable 8,409 4,776
Accrued expenses and other liabilities 30,374 3,941
Net cash provided by operating activities 176,429 40,027
Investing activities    
Capital expenditures (13,623) (7,596)
Proceeds from sale of assets, net 1,800 15,823
Net cash (used in) provided by investing activities (11,823) 8,227
Financing activities    
Payments on long-term debt and other borrowings (7,891) (40,757)
Proceeds from stock option exercises 7,538 4,616
Proceeds from issuance of common stock 1,375 768
Payments for minimum statutory tax withholding related to net share settlement of equity awards (7,171) (1,859)
Net cash used in financing activities (6,149) (37,232)
Effect of foreign exchange rates on cash, cash equivalents and restricted cash (266) (99)
Net increase in cash, cash equivalents and restricted cash 158,191 10,923
Cash, cash equivalents and restricted cash, beginning of period 100,651 82,694
Cash, cash equivalents and restricted cash, end of period 258,842 93,617
Reconciliation to amounts within the condensed consolidated balance sheets    
Cash and cash equivalents 257,259 91,475
Restricted cash included in other long-term assets 1,583 2,142
Cash, cash equivalents and restricted cash at end of period $ 258,842 $ 93,617