XML 41 R7.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2024
Jun. 30, 2023
Dec. 31, 2023
Operating activities          
Net loss     $ (558,109) $ (442,959)  
Adjustments to reconcile net loss to net cash used in operating activities:          
Depreciation of long-lived assets     34,603 21,266  
Amortization of intangible assets     9,434 9,755  
Lower of cost or net realizable value inventory adjustment and provision for excess and obsolete inventory     53,359 11,760  
Stock-based compensation     40,013 83,220  
Loss on extinguishment of convertible senior notes     14,047    
(Recoveries)/provision for losses on accounts receivable     (1,313) 896  
Amortization of (premium)/discount of debt issuance costs on convertible senior notes and long-term debt     (718) 1,195  
Provision for common stock warrants     10,327 14,302  
Deferred income tax (benefit)/expense     (213) 1,512  
Impairment $ 3,937 $ 9,986 4,221 11,069  
Loss on service contracts     7,292 856  
Fair value adjustment to contingent consideration     (5,432) 24,077  
Net realized loss on investments   (264)   (263)  
Accretion of premium on available-for-sale securities       (5,949)  
Lease origination costs     (2,467) (5,567)  
Change in fair value for equity securities       (8,917)  
Loss on equity method investments 7,240 7,623 20,353 12,940  
Changes in operating assets and liabilities that provide/(use) cash:          
Accounts receivable     55,261 (88,091)  
Inventory     (11,925) (269,707)  
Contract assets     (2,897) (23,807)  
Prepaid expenses and other assets     (20,864) 9,178  
Accounts payable, accrued expenses, and other liabilities     (15,818) (720)  
Payments of contingent consideration     (9,164) (2,895)  
Deferred revenue and other contract liabilities     (42,456) 21,838  
Net cash used in operating activities     (422,466) (625,011)  
Investing activities          
Purchases of property, plant and equipment     (193,923) (319,322)  
Purchases of equipment related to power purchase agreements and equipment related to fuel delivered to customers     (11,022) (19,309)  
Proceeds from maturities of available-for-sale securities       908,749  
Proceeds from sales of equity securities       76,263  
Cash paid for non-consolidated entities and non-marketable equity securities     (63,713) (40,894)  
Net cash (used in)/provided by investing activities     (268,658) 605,487  
Financing activities          
Payments of contingent consideration     (1,836) (10,105)  
Proceeds from public offering, net of transaction costs     572,120    
Payments of tax withholding on behalf of employees for net stock settlement of stock-based compensation     (602) (2,954)  
Proceeds from exercise of stock options     67 732  
Principal payments on long-term debt     (685) (5,407)  
Proceeds from finance obligations       77,589  
Principal repayments of finance obligations and finance leases     (42,313) (34,211)  
Net cash provided by financing activities     526,751 25,644  
Effect of exchange rate changes on cash     14,135 (2,139)  
Decrease in cash and cash equivalents     (72,674) (111,212)  
(Decrease)/increase in restricted cash     (77,564) 115,193  
Cash, cash equivalents, and restricted cash beginning of period     1,169,144 1,549,344 $ 1,549,344
Cash, cash equivalents, and restricted cash end of period 1,018,906 1,553,325 1,018,906 1,553,325 $ 1,169,144
Supplemental disclosure of cash flow information          
Cash paid for interest, net of capitalized interest of $5.2 million at June 30, 2024 and $4.0 million at June 30, 2023     22,595 20,101  
Summary of non-cash activity          
Recognition of right of use asset - finance leases     163 4,818  
Recognition of right of use asset - operating leases     5,404 56,328  
Net transfers between inventory and long-lived assets     19,349 705  
Earnouts from acquisitions paid in common stock and warrants $ 18,241 $ 8,000 18,241 8,000  
Purchases of long lived asset from financing agreement     2,000    
Accrued purchase of fixed assets, cash to be paid in subsequent period     $ 84,339 $ 109,490