XML 19 R7.htm IDEA: XBRL DOCUMENT v3.23.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
OPERATING ACTIVITIES    
Net loss $ (44,778) $ (22,483)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization expense 11,107 8,725
Non-cash interest expense, including interest expenses associated with debt issuance costs 386 456
Stock-based compensation 7,202 6,265
Non-cash lease expense 661 546
Accretion of asset retirement obligations 61 60
Impairment loss of energy storage systems 851 171
Net (accretion of discount) amortization of premium on investments (657) 293
Income tax benefit from release of valuation allowance (335) (15,100)
Provision for accounts receivable allowance 522 180
Net loss on investments 1,561 0
Other (117) (17)
Changes in operating assets and liabilities:    
Accounts receivable (10,067) (3,532)
Inventory (34,857) (46,564)
Deferred costs with suppliers 28,179 (9,157)
Other assets 251 (23,127)
Contract origination costs, net (802) (1,670)
Project assets (1,402) 0
Accounts payable 28,831 67,955
Accrued expenses and other liabilities (31,746) (6,657)
Deferred revenue 9,921 17,705
Lease liabilities (593) (54)
Net cash used in operating activities (35,821) (26,005)
INVESTING ACTIVITIES    
Acquisitions, net of cash acquired (1,847) (532,839)
Purchase of available-for-sale investments (49,152) (41,437)
Proceeds from maturities of available-for-sale investments 50,270 36,271
Proceeds from sales of available-for-sale investments 73,917 0
Purchase of energy storage systems (1,625) (108)
Capital expenditures on internally-developed software (3,570) (3,537)
Purchase of property and equipment (162) (1,278)
Net cash provided by (used in) investing activities 67,831 (542,928)
FINANCING ACTIVITIES    
Proceeds from exercise of stock options and warrants 149 347
Payments for taxes related to net share settlement of stock options 0 (773)
Proceeds from financing obligations 0 311
Repayment of financing obligations (2,133) (4,178)
Proceeds from issuance of notes payable 0 6
Payment to acquire noncontrolling interest (72) 0
Repayment of notes payable (100) 0
Net cash used in financing activities (2,156) (4,287)
Effect of exchange rate changes on cash and cash equivalents 126 (23)
Net increase (decrease) in cash and cash equivalents 29,980 (573,243)
Cash and cash equivalents, beginning of year 87,903 747,780
Cash and cash equivalents, end of period 117,883 174,537
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION    
Cash paid for interest 1,481 1,869
NON-CASH INVESTING AND FINANCING ACTIVITIES    
Change in asset retirement costs and asset retirement obligation 99 27
Purchases of energy storage systems in accounts payable 88 0
Right-of-use asset obtained in exchange for lease liability 2,782 0
Stock-based compensation capitalized to internal-use software $ 906 $ 522