XML 31 R8.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Operating activities:      
Net income (loss) $ 289,004,000 $ 135,037,000 $ (21,825,000)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation, depletion and amortization 18,356,000 24,382,000 6,931,000
Accretion of asset retirement and environmental obligations 1,477,000 2,375,000 2,255,000
Accretion of discount on short-term investments (9,958,000) 0 0
Gain on forgiveness of Paycheck Protection Loan 0 (3,401,000) 0
Loss on sale or disposal of long-lived assets, net 391,000 569,000 101,000
Stock-based compensation expense 31,780,000 22,931,000 5,014,000
Accretion of debt discount and amortization of debt issuance costs 4,034,000 7,384,000 3,146,000
Write-down of inventories 0 1,809,000 0
Non-cash settlement charge 0 0 66,615,000
Revenue recognized in exchange for debt principal reduction (13,566,000) (54,828,000) (21,312,000)
Deferred income taxes 17,789,000 17,425,000 (17,792,000)
Decrease (increase) in operating assets:      
Accounts receivable (including related party) 18,153,000 (47,420,000) (3,219,000)
Inventories (24,314,000) (8,229,000) (9,224,000)
Income taxes receivable (2,201,000) 0 0
Prepaid expenses, other current and non-current assets (6,022,000) (4,154,000) 1,794,000
Increase (decrease) in operating liabilities:      
Accounts payable and accrued liabilities 1,962,000 5,530,000 (3,848,000)
Income taxes payable 17,700,000 3,463,000 0
Refund liability to related party 0 0 (2,746,000)
Deferred revenue from related party 0 0 1,933,000
Other current and non-current liabilities (1,071,000) (902,000) (4,546,000)
Net cash provided by operating activities 343,514,000 101,971,000 3,277,000
Investing activities:      
Additions to property, plant and equipment (326,595,000) (123,870,000) (22,370,000)
Purchases of short-term investments (2,779,666,000) 0 0
Proceeds from sales of short-term investments 1,463,160,000 0 0
Proceeds from maturities of short-term investments 281,000,000 0 0
Proceeds from sale of property, plant and equipment 0 125,000 0
Proceeds from government awards used for construction 5,130,000 4,382,000 0
Net cash used in investing activities (1,356,971,000) (119,363,000) (22,370,000)
Financing activities:      
Proceeds from issuance of long-term debt 0 690,000,000 3,364,000
Proceeds from Second Additional Advance 0 0 35,450,000
Proceeds from Business Combination, including PIPE Financing 0 0 544,712,000
Principal payments on debt obligations and finance leases (5,834,000) (2,435,000) (20,180,000)
Payment of underwriting and transaction costs 0 0 (40,325,000)
Payment of debt issuance costs 0 (17,749,000) 0
Tax withholding on stock-based awards (18,357,000) (3,330,000) (996,000)
Other 0 (377,000) (64,000)
Net cash provided by (used in) financing activities (24,191,000) 666,109,000 521,961,000
Net change in cash, cash equivalents and restricted cash (1,037,648,000) 648,717,000 502,868,000
Cash, cash equivalents and restricted cash beginning balance 1,181,157,000 532,440,000 29,572,000
Cash, cash equivalents and restricted cash ending balance 143,509,000 1,181,157,000 532,440,000
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents [Abstract]      
Cash and cash equivalents 136,627,000 1,179,297,000 519,652,000
Restricted cash, current 6,287,000 1,344,000 3,688,000
Restricted cash, non-current 595,000 516,000 9,100,000
Total cash, cash equivalents and restricted cash $ 143,509,000 $ 1,181,157,000 $ 532,440,000