XML 18 R8.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Statement Of Cash Flows [Abstract]    
Net cash flows used in operating activities $ (23,033) $ (2,754)
Cash flows from investing activities:    
Purchases of property, plant and equipment (6,870) (6,714)
Proceeds from sale of property, plant and equipment 7 38
Purchases of long-term marketable securities (487) (18)
Proceeds from sale of long-term marketable securities 625 158
Net cash flows used in investing activities (6,725) (6,536)
Cash flows from financing activities:    
Repayments of debt (511) (1,021)
Proceeds from revolving credit facility 36,000 12,131
Payments on revolving credit facility (8,034) (8,000)
Proceeds from related party debt (Note 17) 958 0
Repayments of related party debt (Note 17) (913) 0
Proceeds from shareholder exercise of warrants (Note 9) 0 3,217
Debt issuance costs 0 (485)
Net cash flows provided by financing activities 27,500 5,842
Effect of exchange rate changes on cash and cash equivalents (707) (81)
Net decrease in cash and cash equivalents (2,965) (3,529)
Cash and cash equivalents at beginning of period 10,337 16,842
Cash and cash equivalents at end of period 7,372 13,313
Supplemental information:    
Income tax payments 402 1,023
Interest payments 2,183 1,203
Non-cash investing and financing activities:    
Purchases of property, plant and equipment in current liabilities 1,184 546
Finance lease right-of-use assets exchanged for lease liabilities 1,105 113
Operating lease right-of-use assets exchanged for lease liabilities $ 118 $ 53