| Disposal Groups, Including Discontinued Operations [Table Text Block] |
| | | Three months ended | |
| | | March 31, | |
| | | 2023 | | | 2022 | |
| Total revenues | | $ | 501 | | | $ | 442 | |
| Cost of goods sold | | | 711 | | | | 414 | |
| Selling, general and administrative expense | | | 683 | | | | 3,608 | |
| Impairment of net assets held for sale | | | 7,007 | | | | — | |
| Impairment of fixed assets | | | 1,065 | | | | — | |
| Gain on termination of lease liabilities | | | (1,098 | ) | | | — | |
| Research and development expenses | | 349 | | | | 479 | |
| Loss from operations | | | 8,216 | | | | 4,059 | |
| Loss from discontinued operations before loss on disposal | | $ | 8,216 | | | $ | 4,059 | |
| | | March 31, 2023 | | | December 31, 2022 | |
| Cash and cash equivalents | | $ | — | | | $ | — | |
| Accounts receivable, net | | | 276 | | | | 309 | |
| Inventories | | | 1,117 | | | | 1,178 | |
| Prepaid expenses and other current assets | | | 231 | | | | 444 | |
| Property, plant and equipment, net | | | 8,509 | | | | — | |
| Operating lease right-of-use assets | | | 178 | | | | — | |
| Other assets | | | 172 | | | | — | |
| Less: expected loss on sale of discontinued operations | | | (7,007 | ) | | | — | |
| Total current assets of discontinued operations | | | 3,476 | | | | 1,931 | |
| Property, plant and equipment, net | | | — | | | | 10,261 | |
| Operating lease right-of-use assets | | | — | | | | 3,499 | |
| Other assets | | | — | | | | 176 | |
| Total non-current assets of discontinued operations | | | — | | | | 13,936 | |
| Total assets of discontinued operations | | $ | 3,476 | | | $ | 15,867 | |
| | | | | | | |
| Accounts payable | | | 618 | | | | 784 | |
| Accrued liabilities | | | 1,184 | | | | 1,720 | |
| Operating lease liabilities, current portion | | | 354 | | | | 1,601 | |
| Note payable, current portion | | | — | | | | 400 | |
| Deferred revenue, current portion | | | 1,122 | | | | 115 | |
| Total current liabilities of discontinued operations | | | 3,278 | | | | 4,620 | |
| Operating lease liabilities, net of current portion | | | — | | | | 2,959 | |
| Deferred revenue, net of current portion | | | — | | | | 1,036 | |
| Total non-current liabilities of discontinued operations | | | — | | | | 3,995 | |
| Total liabilities of discontinued operations | | | 3,278 | | | | 8,615 | |
| Net assets of discontinued operations | | $ | 198 | | | $ | 7,252 | |
| | | Three months ended | |
| | | March 31, | |
| | | 2023 | | | 2022 | |
| Cash flows from operating activities: | | | | | | | | |
| Depreciation and amortization | | $ | 215 | | | $ | 379 | |
| Stock-based compensation | | | 19 | | | | 145 | |
| Impairment of net assets held for sale | | | 7,007 | | | | — | |
| Impairment of fixed assets | | | 1,065 | | | | — | |
| Gain on termination of lease liabilities | | | (1,098 | ) | | | — | |
| Gain on extinguishment of debt | | | (400 | ) | | | — | |
| | | March 31, 2023 | |
| Expected cash proceeds | | $ | 2,723 | |
| Less: net assets transferred | | | (8,840 | ) |
| Less: expected disposal costs | | | (890 | ) |
| Expected loss on sale of discontinued operations, before income taxes | | | (7,007 | ) |
| Income tax expense | | | — | |
| Expected loss on sale of discontinued operations | | $ | (7,007 | ) |
|