XML 19 R7.htm IDEA: XBRL DOCUMENT v3.24.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Cash flows from operating activities:    
Net (loss) income $ (55,691) $ (14,516)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 23,196 18,419
Impairment charges 1,996  
Equity-based compensation 8,508 6,297
Provision for credit losses 1,368 278
Amortization of deferred financing fees included in interest expense 2,432 1,560
Loss on disposal of property, plant and equipment 965 1,145
Mark-to-market adjustments (2,692) (1,045)
Change in fair value of warrant liabilities (7,134) (18,833)
Foreign currency transactions 461 1,481
Deferred income tax expense (benefit) 1,133 (3,331)
Other 1,003 1,443
Change in operating assets and liabilities:    
Accounts receivable (4,930) 1,993
Inventories (7,191) (14,153)
Derivative assets and liabilities 12,685 4,090
Prepaid expense and other assets 1,447 (8,469)
Accounts payable (2,650) (50,254)
Accrued liabilities and other 9,071 (1,236)
Net cash used in operating activities (16,023) (75,131)
Cash flows from investing activities:    
Additions to property, plant and equipment (141,451) (121,545)
Additions to intangible assets (144) (147)
Acquisition of business, net of cash acquired   (2,392)
Acquisition of equity method investments and non-marketable securities   (1,385)
Proceeds from sale of property, plant and equipment 1,225 198
Net cash used in investing activities (140,370) (125,271)
Cash flows from financing activities:    
Payments on debt (151,968) (170,522)
Proceeds from debt 250,882 221,509
Payments on supply chain financing program (121,203) (2,321)
Proceeds from supply chain financing program 114,008 69,787
Proceeds from convertible notes payable 22,000  
Proceeds from convertible notes payable - related party 50,000  
Payment of debt issuance costs (3,329) (3,023)
Payment of convertible notes payable issuance costs (511)  
Net proceeds from (repayments of) repurchase agreements (7,111) (8,553)
Proceeds from exercise of stock options 12 848
Proceeds from exercise of Public Warrants   2,632
Proceeds from issuance of common stock 635 118,767
Payment of equity issuance costs (10) (1,000)
Payment for purchase of non-controlling interest   (2,000)
Payment for taxes for net share settlement of equity awards (2,041) (2,977)
Net cash provided by financing activities 151,364 223,147
Effect of exchange rate changes on cash (131) (335)
Net (decrease) increase in cash and cash equivalents and restricted cash (5,160) 22,410
Cash and cash equivalents and restricted cash at beginning of period 37,840 26,405
Cash and cash equivalents and restricted cash at end of period 32,680 48,815
Supplemental non-cash investing and financing activities:    
Property, plant and equipment acquired but not yet paid $ 8,275 $ 4,441