XML 16 R6.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flow from operating activities    
Net (loss) income and comprehensive (loss) income $ (56,503) $ 70,958
Adjustments to reconcile net (loss) income and comprehensive (loss) income to net cash (used in) provided by operating activities:    
Depreciation and amortization 60,194 12,101
Depreciation included in cost of goods sold 24,501 8,687
Non-cash interest expense 2,629 1,507
Non-cash interest income (276)  
Loss on impairment and disposal of long-lived assets, net 18,116  
Loss on disposal of non-operating assets 3,400  
Amortization of operating lease right of use assets 5,742 1,910
Share-based compensation 10,267 1,485
Accretion of construction finance liabilities 595 1,068
Change in fair value of derivative liabilities - warrants (2,262)  
Non-cash change in contingencies 10,384  
Allowance for credit losses 1,088  
Deferred income tax expense (13,669) (1,986)
Changes in operating assets and liabilities:    
Inventories (55,736) (14,316)
Accounts receivable (4,090) (3,446)
Prepaid expenses and other current assets 2,362 (8,896)
Other assets (4,422) (5,603)
Accounts payable and accrued liabilities (2,930) 2,152
Income tax payable (3,674) (14,032)
Operating lease liabilities (4,543) (1,633)
Deferred revenue (797) (992)
Contingencies (1,331)  
Other long-term liabilities 671 230
Net cash (used in) provided by operating activities (10,284) 49,194
Cash flow from investing activities    
Purchases of property and equipment (92,865) (115,302)
Purchases of property and equipment related to construction finance liabilities (13,247) (7,147)
Capitalized interest (2,676) (2,130)
Acquisitions, net of cash acquired (27,781) (10,158)
Purchases of internal use software (4,887) (1,951)
Proceeds from sale of property and equipment 100  
Proceeds from sale of variable interest entity 1,604  
Proceeds from sale of held for sale assets 2,173  
Proceeds received from notes receivable 1,187  
Net cash used in investing activities (136,392) (136,688)
Cash flow from financing activities    
Proceeds from private placement notes, net of discounts 75,635  
Proceeds from notes payable 1,080  
Proceeds from construction finance liabiliies 7,047 7,148
Proceeds from warrant exercises 19,238 7,672
Proceeds from shares issued pursuant to private placement, net of issuance costs   217,896
Proceeds from stock option exercises 108  
Payments on notes payable (2,486)  
Payments from private placement notes (1,874)  
Payments on finance lease obligations (3,205) (2,091)
Payments on construction finance liabilities (636)  
Payments for debt issuance costs (189)  
Payments on notes payable - related party   (11)
Payments for taxes related to net share settlement of equity awards (230) (595)
Distributions (50)  
Net cash provided by financing activities 94,438 230,019
Net (decrease) increase in cash and cash equivalents (52,238) 142,525
Cash, cash equivalents, and restricted cash, beginning of period 233,659 146,713
Cash, cash equivalents, and restricted cash, end of period 181,421 289,238
Supplemental disclosure of cash flow information    
Interest 35,281 15,047
Income taxes, net of refunds 104,261 79,950
Other noncash investing and financing activities    
ASC 842 lease additions - operating and finance leases 30,383 29,291
Purchases of property and equipment in accounts payable and accrued liabilities $ 10,084 13,751
Shares issued for acquisitions   10,000
Adjustment to PurePenn, LLC and Solevo contingent consideration   $ 2,800