XML 22 R6.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Net loss $ (20,145) $ (131,891) $ (307,045)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Impairment expense 0 0 287,454
Depreciation and amortization expense 139,767 123,866 113,693
Equity in income of joint ventures (15,731) (16,747) (13,589)
Stock-based compensation expense 18,486 54,162 0
Changes in fair value of investments 1,199 (511) 0
Elimination of unrealized profit on sales to joint ventures 0 174 2,085
Debt issuance expense 0 5,166 0
Gain on disposal of assets 0 (1,000) (10,085)
Deferred taxes (1,326) (737) (20,596)
Unrealized foreign exchange losses 6,116 1,407 2,106
Changes in assets and liabilities:      
Accounts receivable, net (97,758) (20,256) 38,486
Inventories (26,037) 906 2,780
Other assets 4,365 12,683 532
Accounts payable and accrued liabilities 35,491 5,371 (25,161)
Other liabilities 31,435 (5,981) 7,150
Income taxes, net 10,209 (2,056) (4,241)
Dividends received from joint ventures 7,283 4,058 3,646
Other (13,185) (12,470) (6,824)
Net cash provided by operating activities 80,169 16,144 70,391
Cash flows from investing activities:      
Capital expenditures (81,904) (81,511) (112,387)
Cash and cash equivalents and restricted cash acquired in the Merger 0 189,739 0
Acquisition of technology (7,967) 0 0
Proceeds from disposal of assets 7,279 3,818 15,614
Proceeds from sale / maturity of investments 11,386 0 0
Net cash (used in) provided by investing activities (71,206) 112,046 (96,773)
Cash flows from financing activities:      
(Cash pledged for) release of collateral deposits (70) 162 2,271
Repayment of financed insurance premium (7,245) (227) 0
Payments of loan issuance and other transaction costs (132) (5,123) (1,095)
Acquisition of Company common stock (12,996) 0 0
Payment of withholding taxes on stock-based compensation plans (4,168) (818) 0
Repayments of finance leases (1,001) (1,170) (1,801)
Net cash used in financing activities (25,612) (7,176) (625)
Effect of exchange rate changes on cash and cash equivalents (4,738) (1,876) 631
Net (decrease) increase to cash and cash equivalents and restricted cash (21,387) 119,138 (26,376)
Cash and cash equivalents and restricted cash at beginning of year 239,847 120,709 147,085
Cash and cash equivalents and restricted cash at end of year $ 218,460 $ 239,847 $ 120,709