XML 27 R6.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities      
Net income (loss) $ (38,379) $ 2,517 $ (28,462)
Adjustments to reconcile net income (loss) to net cash from operating activities      
Depreciation and amortization 29,599 30,546 24,699
Impairment of goodwill 11,756    
Amortization of operating lease assets, debt costs, and other assets 3,496 3,730 3,778
Provision for expected credit losses 444 199 1,891
Deferred income taxes 24,482 10,787 1,393
Share-based compensation expense 15,432 16,207 21,540
Interest and (gain) loss on the valuation of investment securities (1,146) 116 5,000
Change in fair value of contingent consideration (3,575) (7,300) 29,140
Other 1,064 (2,228) 2,433
Changes in operating assets and liabilities, net of effects of acquisitions      
Accounts receivable (7,049) 13,283 (11,037)
Inventories 619 (873) (5,712)
Prepaid expenses and other current assets (2,834) 4,526 (3,698)
Accounts payable 4,253 2,532 2,138
Other current liabilities 1,013 5,975 (7,716)
Contract liability (Note 15) (9,060) 13,851  
Payment of contingent consideration (6,595)   (1,340)
Other long-term assets and liabilities (5,045) (19,596) (2,014)
Net cash from operating activities 18,475 74,272 32,033
Cash flows from investing activities      
Acquisition of a business   (18,000)  
Capital expenditures for property, plant and equipment (17,785) (15,485) (18,997)
Capital expenditures for intangible assets (1,807) (1,609) (1,527)
Purchase of investment securities (2,171) (10,000)  
Asset acquisitions and other investments (1,250) (7,240) (2,400)
Net cash from investing activities (23,013) (52,334) (22,924)
Cash flows from financing activities      
Proceeds from revolving credit facility   100,000  
Repayment of revolving credit facility   (100,000)  
Proceeds from issuance of common shares 8,824 7,598 11,551
Payments related to withholdings for share-based compensation (2,555) (2,493) (5,193)
Payment of contingent consideration (8,405)   (13,660)
Payments related to finance lease obligation (537) (323) (365)
Payment of debt issuance costs and other financing activities (948) (1,537) (3,021)
Net cash from financing activities (3,621) 3,245 (10,688)
Effect of exchange rate changes on cash and restricted cash (815) 1,235 (207)
Net change in cash, cash equivalents, and restricted cash (8,974) 26,418 (1,786)
Cash, cash equivalents, and restricted cash at the beginning of the year 96,821 70,403 72,189
Cash, cash equivalents, and restricted cash at the end of the year 87,847 96,821 70,403
Components of cash, cash equivalents, and restricted cash at the end of the year      
Cash and cash equivalents 87,847 96,291 69,719
Restricted cash   530 684
Cash, cash equivalents, and restricted cash at the end of the year $ 87,847 $ 96,821 $ 70,403