Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities:    
Net loss $ (5,206) $ (11,448)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 2,815 2,112
Change in fair value of common stock warrant liability (3,248) 4,599
Loss on sale of equipment   19
Gain on forgiveness of debt (1,963)  
Stock-based compensation 650 158
Amortization of operating lease right-of-use assets (63) 698
Changes in operating assets and liabilities:    
Accounts receivable 1,547 (1,348)
Unbilled accounts receivable (849) (98)
Inventories 747 453
Prepaid expenses and other current assets 128 187
Deferred revenues (371) 148
Operating lease liabilities 187 (730)
Accounts payable, accrued expenses, and other current liabilities (1,805) 353
Net cash used in operating activities (7,431) (4,897)
Cash flows from investing activities:    
Purchase of equipment (1,420) (1,089)
Purchase of equipment, government grant (10,475) (1,411)
Proceeds from sale of equipment   50
Net cash used in investing activities (11,895) (2,450)
Cash flows from financing activities:    
Borrowings (repayments) under revolving line of credit, net 99 (1,016)
Proceeds from public offering, net 183 9,783
Proceeds from Paycheck Protection Program loan   1,963
Change in finance lease liabilities (293) (17)
Proceeds from government grant 9,064 3,505
Proceeds from warrant exercise 5,652 40
Proceeds from exercise of stock options 725  
Net cash provided by financing activities 15,430 14,258
Net (decrease) increase in cash, cash equivalents, and restricted cash (3,896) 6,911
Cash, cash equivalents, and restricted cash, beginning of period 10,426 3,515
Cash, cash equivalents, and restricted cash, end of period 6,530 10,426
Cash, cash equivalents, end of period 5,724 8,315
Restricted cash, end of period 806 2,111
Supplementary Cash Flow Information    
Cash paid for interest 851 52
Cash paid for income taxes
Non-cash activities:    
Right-of-use assets obtained in exchange for finance lease liabilities $ 263 $ 12,706