XML 24 R7.htm IDEA: XBRL DOCUMENT v3.24.1.u1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Cash flows from operating activities    
Net income (loss) $ (17,854) $ 53,813
Income from discontinued operations, net of tax 0 50,340
Income (loss) from continuing operations (17,854) 3,473
  Adjustments to reconcile net income (loss) from continuing operations to cash used in operating activities    
Stock based compensation expense 431 365
Depreciation and amortization 9,290 5,353
Deferred income tax expense 0 1,013
Loss on lease modification 35 0
Loss on sale of assets 691 3
Increase in allowance for credit losses 19 882
Increase (decrease) in fair value of derivative warrant liability (6,658) 9,185
(Gain) loss on commodity derivative contracts 1,322 (1,516)
Net cash settlements on commodity derivatives (2,292) 3,519
Amortization of debt discount and deferred costs 4,758 4,572
Changes in operating assets and liabilities    
Accounts receivable and other receivables (4,180) (26,291)
Inventory (16,859) (52,553)
Prepaid expenses and other current assets 14,710 (18,103)
Accounts payable (5,250) 11,005
Accrued expenses (7,308) 22,486
Other assets 19 (44)
Net cash used in operating activities from continuing operations (29,126) (36,651)
Cash flows from investing activities    
Purchase of fixed assets (14,726) (73,936)
Proceeds from sale of discontinued operation 0 87,238
Proceeds from sale of fixed assets 2,576 0
Net cash provided by (used in) investing activities from continuing operations (12,150) 13,302
Cash flows from financing activities    
Payments on finance leases (586) (310)
Proceeds from exercise of options and warrants to common stock 0 209
Contributions received from noncontrolling interest 0 980
Net change on inventory financing agreements 28,313 (11,284)
Proceeds from note payable 3,175 0
Payments on note payable (4,450) (17,165)
Net cash provided by (used in) financing activities from continuing operations 26,452 (27,570)
Discontinued operations:    
Net cash provided by (used in) operating activities 0 (150)
Net cash provided by (used in) discontinued operations 0 (150)
Net decrease in cash, cash equivalents and restricted cash (14,824) (51,069)
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 65,749 95,118
Cash and cash equivalents 62,140 86,689
Restricted cash 3,609 8,429
Cash and cash equivalents and restricted cash as shown in the consolidated statements of cash flows 65,749 95,118
SUPPLEMENTAL INFORMATION    
Cash paid for interest 4,811 10,124
Cash paid for taxes 0 0
NON-CASH INVESTING AND FINANCING TRANSACTIONS    
ROU assets obtained from new finance lease liabilities 18 15,024
ROU assets obtained from new operating lease liabilities 74 15,078
ROU assets disposed under operating leases $ (17,666) $ 0