XML 18 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities:    
Net income (loss) $ (61,064) $ 76,245
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Stock-based compensation 16,877 13,656
Depreciation 7,695 7,581
Amortization 33,924 26,118
Debt issuance costs amortization 274 1,372
Loss on debt extinguishment   4,868
Deferred income taxes (19,552) (6,556)
Other 1,721 1,649
Changes in operating assets and liabilities:    
Accounts receivable 133,362 38,556
Inventories 54,371 (102,896)
Prepaid expenses and other assets (7,132) (7,790)
Accounts payable (74,091) (51,842)
Other liabilities and accrued expenses (41,243) 24,100
Net cash provided by operating activities 45,142 25,061
Cash flows from investing activities:    
Acquisition of business, net of cash acquired (19,534) (1,684)
Payment of deferred contingent consideration (95) (4,678)
Purchase of property and equipment (19,850) (7,677)
Investment in available-for-sale convertible note (1,000)  
Net cash used in investing activities (40,479) (14,039)
Cash flows from financing activities:    
Proceeds from issuance of debt, net   248,513
Repayment of debt (3,750) (326,974)
Payment of debt issuance costs (267)  
Borrowing from line of credit 626,000  
Repayment of line of credit (626,000)  
Payment of contingent consideration (438)  
Proceeds from issuance of shares through employee equity incentive plans 4,132 11,493
Payment of taxes related to net share settlement of equity awards (1,399) (215)
Dividends paid to noncontrolling interests (2,205)  
Net cash used in financing activities (3,927) (67,183)
Effect of exchange rate changes on cash (4,434) (1,078)
Net decrease in cash and restricted cash (3,698) (57,239)
Cash and restricted cash at the beginning of the period 65,380 133,568
Cash and restricted cash at the end of the period 61,682 76,329
Supplemental cash flow disclosures:    
Cash paid for interest 5,406 10,066
Cash paid for income taxes 9,243 9,842
Supplemental schedule of non-cash investing and financing activities:    
Equipment purchased and unpaid at period end 1,617 2,084
Right-of-use assets obtained in exchange for operating lease liabilities 1,767 34,557
Issuance of common stock relating to business acquisition 14,505  
Debt issuance costs unpaid at period end $ 283 $ 168