XML 27 R6.htm IDEA: XBRL DOCUMENT v3.20.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Cash flows from operating activities      
Net income (loss) $ 2,517 $ (28,462) $ 13,811
Adjustments to reconcile net income to net cash from operating activities      
Depreciation and amortization 30,546 24,699 18,659
Amortization of operating lease assets, debt costs, and other assets 3,730 3,778 1,024
Provision for expected credit losses 199 1,891 (599)
Deferred income taxes 10,787 1,393 (2,661)
Share-based compensation 16,207 21,540 18,930
Interest and loss on the valuation of investment securities 116 5,000 3,050
Change in fair value of contingent consideration (7,300) 29,140 3,069
Other (2,228) 2,433 1,633
Changes in operating assets and liabilities, net of effects of acquisitions      
Accounts receivable 13,283 (11,037) (3,706)
Inventories (873) (5,712) 9,698
Prepaid expenses and other current assets 4,526 (3,698) (1,127)
Accounts payable 2,532 2,138 (170)
Other current liabilities 5,975 (7,716) (7,563)
Contract liability (Note 15) 13,851    
Payment of contingent consideration   (1,340)  
Other long-term assets and liabilities (19,596) (2,014) (4,130)
Net cash from operating activities 74,272 32,033 49,918
Cash flows from investing activities      
Acquisition of a business (18,000)   (44,294)
Capital expenditures for property, plant and equipment (15,485) (18,997) (13,592)
Capital expenditures for intangible assets (1,609) (1,527) (1,664)
Purchase of investment securities (10,000)    
Asset acquisitions and other investments (7,240) (2,400) (1,448)
Net cash from investing activities (52,334) (22,924) (60,998)
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 7,598 11,551 7,100
Payments related to withholdings for share-based compensation (2,493) (5,193) (3,425)
Payment of contingent consideration   (13,660)  
Payments related to finance lease obligation (323) (365)  
Payment of debt issuance costs and other financing activities (1,537) (3,021) (682)
Net cash from financing activities 3,245 (10,688) 2,993
Effect of exchange rate changes on cash and restricted cash 1,235 (207) (881)
Net change in cash, cash equivalents, and restricted cash 26,418 (1,786) (8,968)
Cash, cash equivalents, and restricted cash at the beginning of the year 70,403 72,189 81,157
Cash, cash equivalents, and restricted cash at the end of the year 96,821 70,403 72,189
Components of cash, cash equivalents, and restricted cash at the end of the year      
Cash and cash equivalents 96,291 69,719 69,623
Restricted cash 530 684 2,566
Cash, cash equivalents, and restricted cash at the end of the year $ 96,821 $ 70,403 $ 72,189