XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Cash flows from operating activities          
Net income (loss) $ 24,717 $ (14,204) $ 47,283 $ (61,240)  
Adjustments to reconcile net income (loss) to net cash used in operating activities          
Depreciation and amortization 27,215 23,466 84,061 67,407  
(Gain) loss on disposal of property and equipment and divestitures     (1,905) 1,921  
Equity in losses of unconsolidated entities 218 129 576 129  
Bad debt expense (recovery)     2,091 (651)  
Amortization of debt issuance costs 100 200 539 516  
Inventory adjustments (800) 100 (612) 139  
Equity-based compensation     11,023 6,248  
Bargain purchase gain 3,273   (13,768)    
Unrealized loss on short-term investment       1,406  
Other operating items, net     (710) (309)  
Changes in operating assets and liabilities          
Accounts receivable     (141,468) (32,509)  
Prepaid expenses and other assets     (200) (10,284)  
Accounts payable and accrued liabilities     10,983 13,331  
Net cash used in operating activities     (2,107) (13,896)  
Cash flows from investing activities          
Purchase of property and equipment     (50,815) (29,925)  
Investment in note receivable       (1,101)  
Purchase of equity-method investments     (6,767) (2,200)  
Collection of note receivable     184    
Distribution from cost method investment     60 120  
Acquisitions, net of cash and restricted cash received     5,707    
Acquisitions, net of cash and restricted cash received       (18,644)  
Proceeds received from sales of property and equipment     21,433 6,491  
Proceeds received from divestitures     705    
Net cash used in investing activities     (29,493) (45,259)  
Cash flows from financing activities          
Borrowings from revolving line of credit     82,000    
Payments on revolving line of credit     (82,000)    
Payments on long-term debt     (18,780)    
Payments of finance lease obligations     (108) (238)  
Payment of debt issuance costs     (2,144)    
Proceeds from share issuance     35 43  
Distributions to noncontrolling interests       (1,074)  
Repurchase of common stock     (19,967) (1,206)  
Net cash used in financing activities     (40,964) (2,475)  
Effect of exchange rate changes on cash     (15) 4  
Net decrease in cash and cash equivalents     (72,579) (61,626)  
Cash and cash equivalents, beginning of period     85,801 169,039 $ 169,039
Cash and cash equivalents, end of period $ 13,222 107,413 13,222 107,413 $ 85,801
Supplemental cash flow disclosure:          
Cash paid for interest     1,255 1,108  
Cash refunds received for income taxes, net     (452) (927)  
Supplemental disclosure of noncash investing activities:          
Issuance of shares for acquisitions   $ 20,304 35,854 20,304  
Conversion of notes receivable to equity-method investment     4,442    
Capital expenditures included in accounts payable and accrued liabilities     $ 19,896 $ 8,433