XML 20 R8.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Operating Activities    
Net loss attributable to the Company $ (60,746) $ (37,432)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation of long-lived assets 5,514 2,991
Amortization of intangible assets 364 175
Stock-based compensation 9,695 3,045
Amortization of debt issuance costs and discount on convertible senior notes 1,092 2,716
Provision for common stock warrants 1,705 2,566
Benefit on service contracts (361) (128)
Fair value adjustment to contingent consideration (790)  
Changes in operating assets and liabilities that provide (use) cash:    
Accounts receivable 109 1,034
Inventory (46,791) (20,581)
Prepaid expenses, and other assets (4,641) (10,794)
Accounts payable, accrued expenses, and other liabilities (23,516) (3,374)
Deferred revenue 1,267 (620)
Net cash used in operating activities (117,099) (60,402)
Investing Activities    
Purchases of property, plant and equipment (9,879) (2,507)
Purchases of equipment related to Power Purchase Agreements and equipment related to fuel delivered to customers (3,332) (3,848)
Purchase of available-for-sale securities (405,168)  
Net cash used in investing activities (418,379) (6,355)
Financing Activities    
Proceeds from exercise of warrants, net of transaction costs 15,445  
Proceeds from public and private offerings, net of transaction costs 3,587,825  
Proceeds from exercise of stock options 4,709 6,104
Proceeds from borrowing of long-term debt   (5,315)
Principal payments on long-term debt (14,461)  
Repayments of finance obligations (9,806) (5,343)
Proceeds from finance obligations 10,661 9,024
Net cash provided by financing activities 3,594,373 4,470
Effect of exchange rate changes on cash (51) 1
Increase/(decrease) in cash, cash equivalents and restricted cash 3,058,844 (62,286)
Cash, cash equivalents, and restricted cash beginning of period 1,634,284 369,500
Cash, cash equivalents, and restricted cash end of period 4,693,128 307,214
Supplemental disclosure of cash flow information    
Cash paid for interest 2,608 5,155
Summary of non-cash activity    
Recognition of right of use asset - finance leases 5,292  
Recognition of right of use asset - operating leases 12,720 340
Conversion of preferred stock to common stock   $ 441
Conversion of convertible senior notes to common stock $ 15,345