XML 20 R8.htm IDEA: XBRL DOCUMENT v3.22.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Dec. 31, 2021
Operating activities      
Net loss $ (156,489) $ (60,746)  
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation of long-lived assets 2,842 5,514  
Amortization of intangible assets 5,190 364  
Stock-based compensation 43,386 9,695  
Amortization of debt issuance costs and discount on convertible senior notes 661 1,092  
Provision for common stock warrants 1,852 1,705  
Deferred income tax expense (414)    
Benefit on service contracts (7,297) (361)  
Fair value adjustment to contingent consideration (2,461) (790)  
Net realized loss on investments 847    
Amortization of premium on available-for-sale securities 2,290    
Lease origination costs (1,613)    
Change in fair value for equity securities 5,159    
Loss on equity method investments 3,833    
Changes in operating assets and liabilities that provide (use) cash:      
Accounts receivable 36,170 109  
Inventory (63,702) (46,791)  
Contract assets 44    
Prepaid expenses and other assets (27,107) (4,641)  
Accounts payable, accrued expenses, and other liabilities (25,096) (23,516)  
Deferred revenue and other contract liabilities (28,014) 1,267  
Net cash used in operating activities (209,919) (117,099)  
Investing activities      
Purchases of property, plant and equipment (78,394) (9,879)  
Purchases of equipment related to power purchase agreements and equipment related to fuel delivered to customers (6,796) (3,332)  
Purchase of available-for-sale securities (114,173) (405,168)  
Proceeds from sales of available-for-sale securities 469,563    
Proceeds from maturities of available-for-sale securities 67,430    
Purchase of equity securities (4,990)    
Net cash paid for acquisitions (26,473)    
Cash paid for non-consolidated entities and non-marketable equity securities (32,253)    
Net cash provided by (used in) investing activities 273,914 (418,379)  
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,825  
Payments of tax withholding on behalf of employees for net stock settlement of stock-based compensation (1,465)    
Proceeds from exercise of stock options 291 4,709  
Principal payments on long-term debt (19,246) (14,461)  
Proceeds from finance obligations 17,273 10,661  
Principal repayments of finance obligations and finance leases (12,427) (9,806)  
Net cash (used in) provided by financing activities (18,241) 3,594,373  
Effect of exchange rate changes on cash 634 (51)  
Increase in cash and cash equivalents 14,345 3,036,663  
Increase in restricted cash 32,043 22,181  
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 3,178,582 4,693,128 $ 3,132,194
Supplemental disclosure of cash flow information      
Cash paid for interest, net capitalized interest of $4.3 million 5,731 2,608  
Summary of non-cash activity      
Recognition of right of use asset - finance leases 8,070 5,292  
Recognition of right of use asset - operating leases 20,070 12,720  
Net tangible assets (liabilities) acquired (assumed) in a business combination 56,929    
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 489    
Accrued purchase of fixed assets, cash to be paid in subsequent period $ 6,707