XML 20 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Operating activities          
Net loss     $ (500,543) $ (267,051)  
Adjustments to reconcile net loss to net cash used in operating activities:          
Depreciation of long-lived assets     20,201 15,903  
Amortization of intangible assets     15,238 1,095  
Stock-based compensation     134,984 34,813  
Amortization of debt issuance costs and discount on convertible senior notes     1,969 2,371  
Provision for common stock warrants     12,513 4,746  
Deferred income tax expense     699    
Impairment of long-lived assets     763 1,329  
(Benefit)/loss on service contracts     (21,984) 9,586  
Fair value adjustment to contingent consideration     (2,605) (8,760)  
Net realized loss on investments   $ 254 1,315 236  
Amortization of premium on available-for-sale securities     6,383    
Lease origination costs     (5,991) (7,889)  
Loss on disposal of assets     268    
Change in fair value for equity securities $ 4,221 607 22,864 284  
Loss on equity method investments 4,280 1,736 10,304 1,736  
Changes in operating assets and liabilities that provide (use) cash:          
Accounts receivable     (1,980) (89,329)  
Inventory     (245,770) (90,428)  
Contract assets     (7,027)    
Prepaid expenses and other assets     (82,657) (28,465)  
Accounts payable, accrued expenses, and other liabilities     112,952 28,992  
Deferred revenue and other contract liabilities     6,055 42,330  
Net cash used in operating activities     (522,049) (348,501)  
Investing activities          
Purchases of property, plant and equipment     (317,553) (91,384)  
Purchases of equipment related to power purchase agreements and equipment related to fuel delivered to customers     (22,785) (17,900)  
Purchase of available-for-sale securities     (295,329) (1,862,951)  
Proceeds from sales of available-for-sale securities     475,676 1,105,874  
Proceeds from maturities of available-for-sale securities     209,379 21,780  
Purchase of equity securities     (4,990) (169,713)  
Net cash paid for acquisitions     (26,473)    
Cash paid for non-consolidated entities and non-marketable equity securities     (38,574)    
Net cash used in investing activities     (20,649) (1,014,294)  
Financing activities          
Proceeds from exercise of warrants, net of transaction costs       15,445  
Payments of contingent consideration     (2,667)    
Proceeds from public and private offerings, net of transaction costs       3,587,830  
Payments of tax withholding on behalf of employees for net stock settlement of stock-based compensation     (22,811) (30,734)  
Proceeds from exercise of stock options     2,135 5,316  
Principal payments on long-term debt     (62,794) (29,129)  
Proceeds from finance obligations     83,980 53,447  
Principal repayments of finance obligations and finance leases     (39,156) (20,413)  
Net cash (used in) provided by financing activities     (41,313) 3,581,762  
Effect of exchange rate changes on cash     6,907 (59)  
(Decrease)/increase in cash and cash equivalents     (733,516) 2,059,558  
Increase in restricted cash     156,412 159,350  
Cash, cash equivalents, and restricted cash beginning of period     3,132,194 1,634,284 $ 1,634,284
Cash, cash equivalents, and restricted cash end of period $ 2,555,090 $ 3,853,192 2,555,090 3,853,192 $ 3,132,194
Supplemental disclosure of cash flow information          
Cash paid for interest, net of capitalized interest of $9.8 million     24,392 10,341  
Summary of non-cash activity          
Recognition of right of use asset - finance leases     20,807 16,961  
Recognition of right of use asset - operating leases     119,012 65,083  
Net tangible liabilities assumed in a business combination     (5,124)    
Intangible assets acquired in a business combination     60,522    
Conversion of convertible senior notes to common stock       15,345  
Net transfers between inventory and long-lived assets     1,322    
Accrued purchase of fixed assets, cash to be paid in subsequent period     $ 61,814 $ 8,832