Net loss from discontinued operations for the years ended December 31, 2023 and 2022 is comprised of the following: | | | | | | | | | | | | | 2023 | 2022 | | | Product and service revenues | $ | 934 | | $ | 1,926 | | | | Cost of product and service revenues | 607 | | 1,713 | | | | Gross margin | 327 | | 213 | | | | | | | | Total operating expense | (7,913) | | (13,784) | | | | Finance income and other | 337 | | (4) | | | | Impairment charges on intangible assets | (2,266) | | (13,017) | | | | Impairment charges on goodwill | (23,991) | | — | | | | Recovery on settlement of contingent consideration | — | | 9,891 | | | | Income tax recovery | — | | 3,578 | | | | Net loss from discontinued operations | $ | (33,506) | | $ | (13,123) | | |
Net cash flows from discontinued operations for the years ended December 31, 2023 and 2022 is as follows:
| | | | | | | | | | 2023 | 2022 | | Cash used in operating activities | $ | (3,601) | | $ | (12,259) | | | Cash provided by (used in) investing activities | 47 | | (78) | | | Cash used in financing activities | (234) | | (210) | | | Cash used in discontinued operations | $ | (3,788) | | $ | (12,547) | |
|