XML 19 R7.htm IDEA: XBRL DOCUMENT v3.23.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities:    
Net loss $ (42,305) $ (30,526)
Adjustments to reconcile net loss to net cash used in operating activities:    
Change in fair value of contingent consideration (25) (808)
Change in fair value of contract consideration convertible notes payable (75) 0
Amortization of convertible note issuance cost 1,002 0
Paid-in-kind interest expense 5,956 0
Amortization of contract assets 3,371 0
Depreciation 734 1,011
Provision for doubtful accounts, net of recoveries 203 (127)
Inventory purchase commitment settlement 0 (7,633)
Provision for excess and obsolete inventory 1,734 623
Impairment of goodwill 0 8,092
Gain on disposal of property and equipment (2,916) (94)
Gain on lease termination (584) 0
Non-cash lease expense 226 279
Stock compensation expense 3,325 3,757
Deferred income tax benefit (125) (56)
Paycheck protection plan loan forgiveness 0 (881)
Changes in current assets and liabilities:    
Accounts receivable (7,342) (106)
Accounts receivable, related party (21,383) (1,300)
Inventories (7,917) 1,760
Income taxes receivable 14 381
Other assets (285) (609)
Contract assets (3,600) 0
Accounts payable 25,760 1,829
Accrued liabilities (34) (860)
Operating lease liabilities (507) (603)
Income taxes payable 93 (17)
Interest payable 48 48
Net cash used in operating activities (44,632) (25,840)
Cash flows from investing activities:    
Capital expenditures (421) (39)
Proceeds from sale of assets 5,752 151
Net cash provided by investing activities 5,331 112
Cash flows from financing activities:    
Proceeds from issuance of convertible notes 21,150 0
Payment of issuance costs of convertible notes (1,084) 0
Proceeds from issuance of warrants 19,500 0
Payment of issuance costs of stock warrants (1,170) 0
Payments to tax authorities for shares withheld from employees (224) (390)
Proceeds from issuance of stock 133 80
Payments for finance leases (38) (62)
Net cash provided by (used in) financing activities 38,267 (372)
Effect of changes in exchange rates on cash and cash equivalents 100 100
Net change in cash, cash equivalents and restricted cash (934) (26,000)
Cash and cash equivalents at the beginning of period 11,534 38,660
Restricted cash at the beginning of period 1,790 664
Cash and cash equivalents and restricted cash at beginning of period 13,324 39,324
Cash and cash equivalents at end of period 12,290 11,534
Restricted cash at the end of period 100 1,790
Cash, cash equivalents and restricted cash at end of period $ 12,390 $ 13,324