XML 29 R7.htm IDEA: XBRL DOCUMENT v3.24.1.u1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Operating activities:    
Net Income (Loss), Including Portion Attributable to Noncontrolling Interest $ (66,610) $ (92,791)
Add back: Net loss from discontinued operations 4,123 40,112
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation 2,885 9,996
Bad debt expense 1,841 1,839
Amortization of deferred revenue (91) (34)
Depreciation and amortization expense 21,586 6,456
Accretion expense 300 0
Change in fair value of obligation to issue shares of common stock 0 (535)
Change in fair value of interest rate swaps 4,816 (5,554)
Change in fair value of warrant liabilities (239) (5,148)
Interest income related to SEMTH master lease agreement (11,486) 0
Gain on extinguishment of debt 0 (4,527)
Gain on disposal of assets (4,724) (580)
Change in operating right-of-use assets 120 134
Amortization of debt discount and deferred financing costs 5,863 1,482
Changes in operating assets and liabilities:    
Accounts receivable, net 85 553
Deferred rent assets (828) (1,626)
Prepaid expenses and other current assets (2,390) (1,571)
Other assets 126 0
Accounts payable (1,784) (1,696)
Accrued expenses and other current liabilities 13,624 5,278
Other long-term liabilities 5 0
Deferred revenue 1,064 495
Net cash used in continuing operating activities (31,714) (47,717)
Net cash used in discontinued operating activities (1,947) (15,772)
Net cash used in operating activities (33,661) (63,489)
Investing activities:    
Proceeds from sale of solar energy systems 6,297 2,289
Proceeds from investment related to SEMTH master lease agreement 20,239 0
Cash paid for acquisitions, net of cash acquired (43,097) (32,585)
Purchases of other property and equipment (499) 0
Net cash used in continuing investing activities (17,060) (30,296)
Net cash provided by discontinued investing activities 325 1,290
Net cash used in investing activities (16,735) (29,006)
Financing activities:    
Proceeds from issuance of long-term debt 21,396 0
Payment of deferred financing costs (391) 0
Repayments of long-term debt (32,843) (9,302)
Repayments under financing leases (165) (238)
Proceeds from issuance of common stock 150 0
Proceeds from exercise of stock options 1,004 630
Share repurchases (5,424) 0
Capital distributions to redeemable noncontrolling interests and noncontrolling interests (479) (1,895)
Buyout of redeemable non-controlling interest (55) (8,283)
Net cash used in continuing financing activities (16,807) (19,088)
Net cash used in discontinued financing activities 0 (99)
Net cash used in continuing financing activities (16,807) (19,187)
Net change in cash and cash equivalents and restricted cash: (67,203) (111,682)
Cash and cash equivalents and restricted cash, beginning of period 240,144 351,826
Cash and cash equivalents and restricted cash, end of period 172,941 240,144
Supplemental disclosure of cash flow information:    
Cash paid for interest 37,482 12,367
Supplemental disclosures of noncash investing and financing information:    
Right-of-use assets obtained in exchange for lease liability 933 1,850
Settlement of operating lease liability 436 685
Settlement of finance lease liability 43 0
Settlement of contingent liability through issuance of shares $ 0 $ 186