XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.3
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Sep. 30, 2023
Sep. 30, 2022
Dec. 31, 2022
Dec. 31, 2021
Operating activities            
Net loss     $ (726,438) $ (500,543)    
Adjustments to reconcile net loss to net cash used in operating activities:            
Depreciation of long-lived assets     37,810 20,201    
Amortization of intangible assets $ 4,400 $ 4,900 14,158 15,238    
Lower of cost or net realizable value inventory adjustment and provision for excess and obsolete inventory     33,889      
Payments of contingent consideration     (2,895)      
Stock-based compensation     129,074 134,984    
Provision for losses on accounts receivable     948      
Amortization of debt issuance costs and discount on convertible senior notes     1,699 1,969    
Provision for common stock warrants     12,737 12,513    
Deferred income tax (benefit)/expense     (621) 699    
Impairment 665   11,734 763    
Loss/(benefit) on service contracts     35,893 (21,984)    
Fair value adjustment to contingent consideration     26,316 (2,605)    
Net realized (gain)/loss on investments     (263) 1,315    
Other than temporary impairment of available-for-sale securities 10,831   10,831      
(Accretion)/amortization of premium on available-for-sale securities     (5,144) 6,383    
Lease origination costs     (7,665) (5,991)    
Loss on disposal of assets       268    
Change in fair value for equity securities     (8,987) 22,864    
Loss on equity method investments 7,030 4,280 19,970 10,304    
Changes in operating assets and liabilities that provide/(use) cash:            
Accounts receivable     (34,685) (1,980)    
Inventory     (411,737) (245,770)    
Contract assets     (39,040) (7,027)    
Prepaid expenses and other assets     (6,423) (82,657)    
Accounts payable, accrued expenses, and other liabilities     21,221 112,952    
Deferred revenue and other contract liabilities     23,699 6,055    
Net cash used in operating activities     (863,919) (522,049) $ (828,600) $ (358,200)
Investing activities            
Purchases of property, plant and equipment     (484,030) (317,553)    
Purchases of equipment related to power purchase agreements and equipment related to fuel delivered to customers     (26,094) (22,785)    
Purchase of available-for-sale securities       (295,329)    
Proceeds from sales of available-for-sale securities       475,676    
Proceeds from maturities of available-for-sale securities     961,160 209,379    
Purchase of equity securities       (4,990)    
Proceeds from sales of equity securities     76,263      
Net cash paid for acquisitions       (26,473)    
Cash paid for non-consolidated entities and non-marketable equity securities     (66,811) (38,574)    
Net cash provided by/(used in) investing activities     460,488 (20,649)    
Financing activities            
Payments of contingent consideration     (10,105) (2,667)    
Payments of tax withholding on behalf of employees for net stock settlement of stock-based compensation     (7,922) (22,811)    
Proceeds from exercise of stock options     1,313 2,135    
Principal payments on long-term debt (300)   (5,710) (62,794)    
Proceeds from finance obligations     90,265 83,980    
Principal repayments of finance obligations and finance leases     (53,394) (39,156)    
Net cash provided by/(used in) financing activities     14,447 (41,313)    
Effect of exchange rate changes on cash     2,130 6,907    
Decrease in cash and cash equivalents     (579,821) (733,516)    
Increase in restricted cash     192,967 156,412    
Cash, cash equivalents, and restricted cash beginning of period     1,549,344 3,132,194 3,132,194  
Cash, cash equivalents, and restricted cash end of period $ 1,162,490 $ 2,555,090 1,162,490 2,555,090 $ 1,549,344 $ 3,132,194
Supplemental disclosure of cash flow information            
Cash paid for interest, net of capitalized interest of $6.0 million at September 30, 2023 and $9.8 million at September 30, 2022     29,207 24,392    
Summary of non-cash activity            
Recognition of right of use asset - finance leases     5,338 20,807    
Recognition of right of use asset - operating leases     77,500 119,012    
Net tangible liabilities assumed in a business combination       (5,124)    
Intangible assets acquired in a business combination       60,522    
Net transfers between inventory and long-lived assets     725 1,322    
Earnouts from acquisitions paid in stock     8,000      
Accrued purchase of fixed assets, cash to be paid in subsequent period     $ 131,774 $ 61,814