v3.22.2.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income $ 41,115 $ 27,841
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 61,312 63,173
Loss on disposition of business 1,389  
Loss on sale or abandonment of property and equipment 196 630
Write-off of certain intangible assets and other long-term assets 1,733 4,412
Acquired in-process research and development 6,671  
Amortization of right-of-use operating lease assets 7,819 8,941
Adjustments and payments related to contingent consideration liability 2,888 3,322
Amortization of deferred credits (81) (81)
Amortization of long-term debt issuance costs 453 453
Stock-based compensation expense 13,691 11,589
Changes in operating assets and liabilities, net of acquisitions and divestitures:    
Trade receivables (9,063) (6,180)
Other receivables 5,669 (3,173)
Inventories (30,735) (11,180)
Prepaid expenses and other current assets (4,186) (6,251)
Income tax refund receivables (1,713) 960
Other assets 1,848 (3,638)
Trade payables 9,752 1,181
Accrued expenses (8,861) 19,575
Income taxes payable (1,374) (1,600)
Deferred compensation payable (3,325) 606
Operating lease liabilities (8,406) (9,365)
Other long-term obligations (509) 201
Total adjustments 45,168 73,575
Net cash, cash equivalents, and restricted cash provided by operating activities 86,283 101,416
Capital expenditures for:    
Property and equipment (32,539) (19,612)
Intangible assets (1,909) (2,121)
Proceeds from the sale of property and equipment 63 1,037
Payments from disposition of business (971)  
Cash paid in acquisitions, net of cash acquired (4,712) (1,858)
Net cash, cash equivalents, and restricted cash used in investing activities (40,068) (22,554)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from issuance of common stock 6,733 17,814
Proceeds from issuance of long-term debt 172,336 73,251
Payments on long-term debt (198,593) (145,876)
Contingent payments related to acquisitions (32,862) (10,579)
Payment of taxes related to an exchange of common stock (2,125) (576)
Net cash, cash equivalents, and restricted cash used in financing activities (54,511) (65,966)
Effect of exchange rates on cash, cash equivalents, and restricted cash (5,862) (908)
Net increase (decrease) in cash, cash equivalents and restricted cash (14,158) 11,988
CASH, CASH EQUIVALENTS AND RESTRICTED CASH:    
Beginning of period 67,750 56,916
End of period 53,592 68,904
RECONCILIATION OF CASH, CASH EQUIVALENTS AND RESTRICTED CASH TO THE CONSOLIDATED BALANCE SHEETS:    
Cash and cash equivalents 51,481 68,904
Restricted cash reported in prepaid expenses and other current assets $ 2,111  
Restricted Cash and Cash Equivalents, Current, Statement of Financial Position [Extensible Enumeration] Prepaid Expense and Other Assets, Current  
Total cash, cash equivalents and restricted cash $ 53,592 68,904
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION    
Interest (net of capitalized interest of $565 and $345, respectively) 4,087 4,155
Income taxes 14,013 6,166
SUPPLEMENTAL DISCLOSURES OF NON-CASH INVESTING AND FINANCING ACTIVITIES    
Property and equipment purchases in accounts payable 1,899 2,842
Acquisition purchases in accrued expenses and other long-term obligations (4,526)  
Merit common stock surrendered (15 and 3 shares, respectively) in exchange for exercise of stock options 898 179
Right-of-use operating lease assets obtained in exchange for operating lease liabilities $ 8,948 $ 827