XML 22 R9.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Operating activities      
Net income (loss) $ (71,279) $ (13,473) $ 31,667
Adjustments to reconcile net (loss) income to net cash flows from operating activities:      
Depreciation, amortization and accretion 42,288 24,689 13,379
Impairment of long-lived assets 9,729 9,935 0
ARO acceleration 5,259 0 0
Amortization of debt related costs 676 119 978
Changes in fair value of contingent assets and liabilities 72,400 (2,000) 0
(Gain) loss on extinguishment of debt (889) 0 3,196
Provision for excess and obsolete inventory 4,057 2,365 1,851
Stock-based compensation 15,934 14,075 12,492
(Gain) loss on disposal of assets (15,263) 2,250 286
Deferred taxes 4,437 (1,334) 9,725
Long-term indemnification receivable 7,121 (2,218) 10,635
Long-term income tax payable and other long-term liabilities (7,912) 2,828 (13,156)
Other 2,512 1,525 282
Increases (decreases) in cash from operating assets and liabilities:      
Accounts receivable (33,102) (7,462) 156
Inventory (3,549) (8,459) 1,994
Other current assets (73) 1,941 (2,411)
Accounts payable 5,425 (4,224) 3,233
Accrued expenses and other liabilities 16,145 (4,161) 6,077
Net cash provided by operating activities 53,916 16,396 80,384
Investing activities      
Capital expenditures (12,140) (12,474) (22,061)
Proceeds from sale of assets, net 15,823 0 0
Lending on bridge loan 0 (10,000) 0
Cash acquired in acquisition of business 0 17,562 0
Net cash provided by (used in) investing activities 3,683 (4,912) (22,061)
Financing activities      
Proceeds from issuance of common stock 767 683 573
Equity issuance costs 0 (3,777) 0
Proceeds from issuance of long-term debt 0 0 199,461
Payments on long-term debt and other borrowings (43,348) (15,491) (275,376)
Deferred financing costs 0 (1,224) (2,258)
Proceeds from stock option exercises 5,295 77 1,173
Payments for minimum statutory tax withholding related to net share settlement of equity awards (2,046) (2,129) (2,454)
Net cash used in financing activities (39,332) (21,861) (78,881)
Effect of foreign exchange rates on cash and cash equivalents (310) 152 76
Net increase (decrease) in cash and cash equivalents and restricted cash 17,957 (10,225) (20,482)
Cash and cash equivalents and restricted cash, beginning of year 82,694 92,919 113,401
Cash and cash equivalents and restricted cash, end of year 100,651 82,694 92,919
Reconciliation to amounts within the consolidated balance sheets      
Cash and cash equivalents 98,508 79,612 92,919
Cash and cash equivalents included in assets held for sale 0 941 0
Restricted cash included in other long-term assets 2,143 2,141 0
Cash, cash equivalents and restricted cash at end of period 100,651 82,694 92,919
Supplemental disclosure of cash flow information      
Interest 6,284 9,368 12,253
Income taxes, net of refunds of $315, $331 and $2, respectively 215 340 274
Schedule of non-cash investing and financing activities      
Additions of property, plant and equipment included in liabilities 1,262 2,227 4,175
Consideration transferred in acquisition $ 0 $ 419,009 $ 0