XML 24 R7.htm IDEA: XBRL DOCUMENT v3.24.2.u1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Cash flows from operating activities    
Net loss $ (71,699) $ (27,641)
Income from discontinued operations, net of tax 0 53,680
Loss from continuing operations (71,699) (81,321)
  Adjustments to reconcile loss from continuing operations to cash used in operating activities from continuing operations    
Stock based compensation expense 861 733
Depreciation and amortization 19,028 13,011
Deferred income tax expense 0 (27,676)
Loss on lease modification 35 0
Loss (gain) on sale of assets 684 (2)
Increase (decrease) in allowance for credit losses (704) 93
Decrease in fair value of derivative warrant liability (8,338) (415)
Loss on commodity derivative contracts 1,551 2,123
Net cash settlements on commodity derivatives contracts (1,547) 1,269
Amortization of debt discount and deferred costs 9,416 70,948
Changes in operating assets and liabilities    
Accounts receivable and other receivables (43,658) (18,589)
Inventory 55,801 (80,199)
Prepaid expenses and other current assets 3,001 (16,546)
Accounts payable (38,518) 20,376
Accrued expenses 53,183 5,932
Right-of use operating lease liabilities change 475 0
Other assets 4 (1,090)
Net cash used in operating activities from continuing operations (20,425) (111,353)
Cash flows from investing activities    
Software purchase 0 (2,500)
Purchase of fixed assets (25,996) (105,344)
Proceeds from sale of discontinued operations 0 92,034
Proceeds from sale of fixed assets 2,584 5
Net cash used in investing activities from continuing operations (23,412) (15,805)
Cash flows from financing activities    
Payments on finance leases (1,187) (908)
Proceeds from exercise of options and warrants to common stock 0 378
Contributions received from noncontrolling interest 0 1,470
Net change on inventory financing agreements (32,615) 43,657
Proceeds from note payable 28,997 13,081
Payments on note payable (13,068) (24,422)
Net cash provided by (used in) financing activities from continuing operations (17,873) 33,256
Discontinued operations:    
Net cash used in operating activities 0 (150)
Net cash used in discontinued operations 0 (150)
Net decrease in cash, cash equivalents and restricted cash (61,710) (94,052)
Cash, cash equivalents, and restricted cash at beginning of the period 80,573 146,187
Cash, cash equivalents, and restricted cash at end of period 18,863 52,135
Cash and cash equivalents 18,763 48,532
Restricted cash 100 3,603
Cash and cash equivalents and restricted cash as shown in the consolidated statements of cash flows 18,863 52,135
SUPPLEMENTAL INFORMATION    
Cash paid for interest 27,772 24,755
Cash paid for taxes 0 0
NON-CASH INVESTING AND FINANCING TRANSACTIONS    
Warrants issued with debt (392) 0
Conversion of Convertible Senior Notes to common stock 0 79,948
ROU assets obtained from new finance leases 16 23,990
ROU assets obtained from new operating leases 1,084 38,945
ROU assets disposed under operating leases $ (9,747) $ 0