XML 17 R7.htm IDEA: XBRL DOCUMENT v3.24.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities:      
Net loss for the period $ (14,584) $ (54,963) $ (53,668)
Adjustments:      
Depreciation and amortization 8,934 15,119 14,513
Impairment charge on Rock Hill Facility 8,716 0 0
Stock-based compensation, net of settlements 2,306 3,342 4,248
Foreign exchange loss (gain) 1,099 (1,813) 112
Gain on sale of software and patents (7,130) 0 0
Loss (gain) on disposal of equipment 153 (133) 12
Accretion of convertible debentures 698 676 352
Deferred income tax recovery 0 0 (414)
Goodwill impairment 0 0 1,443
Changes in operating assets and liabilities:      
Trade and accrued receivables (1,833) (179) (2,118)
Other receivables 7,406 (4,432) 3,570
Inventory 5,961 (4,716) (2,449)
Prepaid and other assets, current and long term 474 129 (1,132)
Accounts payable and accrued liabilities 2,137 260 2,702
Other liabilities (421) (109) (213)
Customer deposits and deferred revenue 243 2,477 601
Current portion of long-term debt and accrued interest (40) (149) 948
Lease liabilities 702 231 283
Net cash flows provided by (used in) operating activities 14,821 (44,260) (31,210)
Cash flows from investing activities:      
Purchase of property, plant and equipment, net of accounts payable changes (1,242) (2,394) (11,781)
Capitalized software development expenditures (1,794) (1,677) (2,340)
Other asset expenditures (398) (443) (496)
Recovery of software development expenditures 127 263 461
Proceeds on sale of software and patents 10,950 0 0
Proceeds on sale of equipment 14 227 18
Net cash flows provided by (used in) investing activities 7,657 (4,024) (14,138)
Cash flows from financing activities:      
Proceeds received on long-term debt 0 647 64,912
Repayment of long-term debt (11,579) (2,470) (1,808)
Proceeds issued on private placement 0 1,990 0
Employee tax payments on vesting of RSUs (26) (1,041) (652)
Net cash flows (used in) provided by financing activities (11,605) (874) 62,452
Effect of foreign exchange on cash, cash equivalents and restricted cash (13) (11) 458
Net increase (decrease) in cash, cash equivalents and restricted cash 10,860 (49,169) 17,562
Cash, cash equivalents and restricted cash, beginning of year 14,239 63,408 45,846
Cash, cash equivalents and restricted cash, end of year 25,099 14,239 63,408
Supplemental disclosure of cash flow information:      
Interest paid (3,977) (4,423) (1,543)
Income taxes received $ (4) $ 3,212 $ 433