XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Cash flows from operating activities          
Net income (loss) $ 14,581 $ (19,615) $ 22,566 $ (47,036)  
Adjustments to reconcile net income (loss) to net cash used in operating activities          
Depreciation and amortization 29,779 21,642 56,846 43,941  
(Gain) loss on disposal of property and equipment and divestitures     (2,384) 2,236  
Equity in losses of unconsolidated entities 229   358    
Bad debt expense (recovery)     1,263 (381)  
Amortization of debt issuance costs 100 200 417 344  
Inventory write-downs 300 100 189 82  
Equity-based compensation     7,219 3,946  
Bargain purchase gain (5,607)   (17,041)    
Unrealized loss on short-term investment     40 1,169  
Other operating items, net     (478) (139)  
Changes in operating assets and liabilities          
Accounts receivable     (89,653) (19,054)  
Prepaid expenses and other assets     5,620 (11,044)  
Accounts payable and accrued liabilities     7,570 14,497  
Net cash used in operating activities     (7,468) (11,439)  
Cash flows from investing activities          
Purchase of property and equipment     (30,976) (13,451)  
Investment in note receivable       (1,101)  
Purchase of equity method investments     (4,267) (2,200)  
Collection of note receivable     184    
Distribution from cost method investment     60 120  
Acquisitions, net of cash and restricted cash received     5,857    
Proceeds received from sales of property and equipment     17,683 5,141  
Other     (429)    
Net cash used in investing activities     (11,888) (11,491)  
Cash flows from financing activities          
Borrowings from revolving line of credit     30,000    
Payments on revolving line of credit     (30,000)    
Payments on long-term debt     (18,780)    
Payments of finance lease obligations     (103) (156)  
Payment of debt issuance costs     (2,144)    
Proceeds from share issuance     25 29  
Distributions to noncontrolling interests       (1,074)  
Repurchase of common stock     (19,695) (1,206)  
Net cash used in financing activities     (40,697) (2,407)  
Effect of exchange rate changes on cash     (6) 20  
Net decrease in cash and cash equivalents     (60,059) (25,317)  
Cash and cash equivalents, beginning of period     85,801 169,039 $ 169,039
Cash and cash equivalents, end of period $ 25,742 $ 143,722 25,742 143,722 $ 85,801
Supplemental cash flow disclosure:          
Cash paid for interest     817 741  
Cash refunds received for income taxes, net     (497) (962)  
Supplemental disclosure of noncash investing activities:          
Issuance of shares for acquisitions     35,854    
Conversion of notes receivable to equity-method investment     4,442    
Capital expenditures included in accounts payable and accrued liabilities     $ 20,214 $ 6,038