XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities    
Net loss $ (64,591) $ (12,991)
Income from discontinued operations, net of tax 31,643 9,219
Loss from continuing operations (96,234) (22,210)
  Adjustments to reconcile net loss from continuing operations to cash provided by   (used in) operating activities, net of acquisitions    
Stock based compensation expense 574 356
Depreciation and amortization 4,026 282
Gain on forgiveness of debt 0 (4,222)
Gain on sale of assets (82) (1)
Provision for environment clean up 1,428 0
Increase (reduction) of allowance for bad debt (12) 620
Increase in fair value of derivative warrant liability 4,524 23,288
Loss on commodity derivative contracts 93,745 1,925
Net cash settlements on commodity derivatives (64,814) (1,961)
Amortization of debt discount and deferred costs 40,000 0
Changes in operating assets and liabilities, net of acquisition    
Accounts receivable and other receivables (85,545) (2,489)
Inventory (67,796) (704)
Prepaid expenses and other current assets (12,614) 1,641
Accounts payable 46,399 2,890
Accrued expenses 26,891 (217)
Other assets (50) (89)
Net cash used in operating activities from continuing operations (109,560) (891)
Cash flows from investing activities    
Acquisition of business, net of cash (227,525) 2
Software purchase (106) 0
Purchase of fixed assets (1,159) (861)
Proceeds from sale of fixed assets 157 75
Net cash used in investing activities from continuing operations (228,633) (784)
Cash flows from financing activities    
Payments on finance leases (107) (134)
Proceeds from exercise of options and warrants to common stock 632 2,829
Distributions to noncontrolling interest (380) 0
Net borrowings on inventory financing agreements 172,607 0
Line of credit proceeds, net 0 1,032
Redemption of noncontrolling interest (50,666) 0
Proceeds from note payable, net 165,718 0
Payments on note payable (7,716) (1,837)
Net cash provided by financing activities from continuing operations 280,088 1,890
Discontinued operations:    
Net cash provided by operating activities 21,366 5,936
Net cash used in investing activities (1,578) (1,961)
Net cash used in financing activities (296) (118)
Net cash provided by discontinued operations 19,492 3,857
Net change in cash, cash equivalents and restricted cash (38,613) 4,072
Cash, cash equivalents, and restricted cash at beginning of the period 136,627 10,995
Cash, cash equivalents, and restricted cash at end of period 98,014 15,067
SUPPLEMENTAL INFORMATION    
Cash paid for interest 11,438 483
Cash paid for taxes 0 0
NON-CASH INVESTING AND FINANCING TRANSACTIONS    
Equity component of the convertible note issuance 78,789 0
Exchanges of Series B Preferred Stock into common stock 0 4,747
Accretion of discount on Series B and B1 Preferred Stock 0 507
Dividends-in-kind accrued on Series B and B1 Preferred Stock 0 (258)
Conversion of Convertible Senior Notes to common stock 59,822 0
Equipment acquired (disposed) under leases 45,096 174
Accretion of redeemable noncontrolling interest to redemption value 428 762
Series B Preferred Stock    
NON-CASH INVESTING AND FINANCING TRANSACTIONS    
Conversion of Series A, B and B1 Preferred Stock into Common Stock 0 8,447
Series B1 Preferred Stock    
NON-CASH INVESTING AND FINANCING TRANSACTIONS    
Conversion of Series A, B and B1 Preferred Stock into Common Stock $ 0 $ 12,046