XML 18 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
OPERATING ACTIVITIES    
Net gain (loss) $ (67,157) $ (55,237)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization expense 15,620 13,769
Non-cash interest expense, including interest expenses associated with debt issuance costs 8,098 7,080
Stock-based compensation 7,983 1,427
Change in fair value of warrant liability and embedded derivative (3,424) 3,005
Noncash lease expense 280 435
Accretion expense 174 188
Impairment of energy storage systems 2,200 0
Issuance of warrants for services 9,183 0
Net (accretion of discount) amortization of premium on investments 295 0
Other 0 9
Changes in operating assets and liabilities:    
Accounts receivable (21,383) (6,039)
Inventory (3,357) (17,595)
Deferred costs with suppliers 0 2,751
Other assets (18,060) (105)
Contract origination costs (1,853) (2,135)
Accounts payable and accrued expenses 6,151 2,836
Deferred revenue (3,538) 32,251
Lease liabilities (331) (475)
Other liabilities 99 (86)
Net cash used in operating activities (69,020) (17,921)
INVESTING ACTIVITIES    
Purchase of available-for-sale investments (171,109) 0
Purchase of energy storage systems (6,173) (4,121)
Capital expenditures on internally-developed software (4,250) (3,585)
Purchase of property and equipment (525) (13)
Net cash used in investing activities (182,057) (7,719)
FINANCING ACTIVITIES    
Proceeds from exercise of stock options and warrants 148,322 30
Payments for taxes related to net share settlement of stock options (12,622) 0
Net contributions from Merger and PIPE financing, net of transaction costs of $58,061 550,322 0
Proceeds from financing obligations 4,929 12,901
Repayment of financing obligations (5,721) (7,776)
Proceeds from issuance of convertible notes, net of issuance costs of $8 and $1,740 for the nine months ended September 30, 2021 and 2020, respectively 1,118 12,548
Proceeds from issuance of notes payable, net of issuance costs of $101 and $1,502 for the nine months ended September 30, 2021 and 2020, respectively 3,917 25,000
Repayment of notes payable (41,446) (21,660)
Net cash provided by financing activities 648,819 21,043
Effect of exchange rate changes on cash and cash equivalents 505 (349)
Net increase (decrease) in cash and cash equivalents 398,247 (4,946)
Cash and cash equivalents, beginning of period 6,942 12,889
Cash and cash equivalents, end of period 405,189 7,943
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION    
Cash paid for interest 8,992 6,446
NON-CASH INVESTING AND FINANCING ACTIVITIES    
Change in asset retirement costs and asset retirement obligation 162 527
Exchange of warrants for common stock 168,647 0
Conversion of warrants upon merger 60,568 0
Conversion of convertible notes upon merger 77,748 0
Conversion of accrued interest into outstanding note payable 337 385
Right-of-use asset obtained in exchange for lease liability 13,816 0
Settlement of warrant liability into common stock due to exercise 167,050 0
Settlement Of Warrant Liability Into Common Stock Due To Redemption 2,121 0
Issuance of warrants upon debt modification 0 168
Stock-based compensation capitalized to internal-use software $ 587 $ 0