XML 19 R7.htm IDEA: XBRL DOCUMENT v3.24.2.u1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Cash flows from operating activities:    
Net loss $ (41,432) $ (31,137)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 15,516 12,055
Impairment charges 831  
Equity-based compensation 5,481 3,857
Provision for credit losses 1,026 653
Amortization of deferred financing fees included in interest expense 1,715 988
Loss on disposal of property, plant and equipment 973 896
Mark-to-market adjustments (3,162) (2,205)
Change in fair value of warrant liabilities (1,653) 6,272
Foreign currency transactions 53 907
Deferred income tax expenses (benefit) 1,170 1,881
Other 490 992
Change in operating assets and liabilities:    
Accounts receivable (3,954) 649
Inventories (12,912) (6,874)
Derivative assets and liabilities 4,709 693
Prepaid expense and other assets 733 (8,529)
Accounts payable (20,211) (24,080)
Accrued liabilities and other 34,936 7,314
Net cash used in operating activities (15,691) (35,668)
Cash flows from investing activities:    
Additions to property, plant and equipment (105,105) (55,745)
Additions to intangible assets (104) (95)
Acquisition of business, net of cash acquired   (2,392)
Proceeds from sale of property, plant and equipment 449 57
Net cash used in investing activities (104,760) (58,175)
Cash flows from financing activities:    
Payments on debt (134,634) (79,795)
Proceeds from debt 184,124 156,118
Payments on supply chain financing program (49,612)  
Proceeds from supply chain financing program 47,872 29,026
Proceeds from convertible notes payable 22,000  
Proceeds from convertible notes payable - related party 50,000  
Payment of debt issuance costs (2,965) (2,582)
Payment of convertible notes payable issuance costs (511)  
Net proceeds from (repayments of) repurchase agreements (7,343) (5,236)
Proceeds from exercise of stock options 12 63
Proceeds from exercise of Public Warrants   2,632
Proceeds from issuance of common stock 635  
Payment of equity issuance costs (10)  
Payment for purchase of non-controlling interest   (2,000)
Payment for taxes for net share settlement of equity awards (1,159) (1,841)
Net cash provided by financing activities 108,409 96,385
Effect of exchange rate changes on cash 229 (165)
Net (decrease) increase in cash and cash equivalents and restricted cash (11,813) 2,377
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 26,027 28,782
Supplemental non-cash investing and financing activities:    
Property, plant and equipment acquired but not yet paid $ 16,191 $ 17,958