XML 16 R6.htm IDEA: XBRL DOCUMENT v3.23.2
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities:    
Net income (loss) $ 21,322 $ (4,484)
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Change in fair value of contingent consideration (324) (134)
Change in fair value of Contract Consideration Convertible Notes Payable (29,969) (13,266)
Amortization of convertible note issuance cost 83 414
Paid-in-kind interest expense 2,284 1,819
Amortization of contract assets 2,390 737
Depreciation 349 377
Provision for credit losses, net of recoveries 63 87
Provision for excess and obsolete inventory 497 769
Gain on sale of property and equipment 0 (1,906)
Gain on lease termination 0 (584)
Lease expense 1,621 112
Stock compensation expense (836) 1,591
Deferred income tax benefit 0 (5)
Paycheck protection plan loan forgiveness (4,522) 0
Changes in current assets and liabilities:    
Accounts receivable 2,218 (21,741)
Accounts receivable, related party (350) 11,600
Inventories (3,158) (4,521)
Income taxes receivable 0 7
Other assets (6) (232)
Contract assets 0 (3,600)
Accounts payable 11,574 12,154
Accrued liabilities (3,491) (2,924)
Operating lease liabilities (1,886) (308)
Income taxes payable (85) 99
Interest payable (8) 24
Net cash used in operating activities (2,234) (23,915)
Cash flows from investing activities:    
Capital expenditures (292) (5)
Proceeds from sale of assets 0 4,194
Net cash (used in) provided by investing activities (292) 4,189
Cash flows from financing activities:    
Payment for forfeited stock options (617) 0
Payments on long term debt (60) 0
Proceeds from issuance of convertible notes 0 21,150
Payment of issuance costs of convertible notes 0 (1,084)
Proceeds from issuance of warrants 0 19,500
Payments to tax authorities for shares withheld from employees (229) (138)
Proceeds from issuance of stock 33 24
Payments for finance leases (15) (21)
Net cash (used in) provided by financing activities (888) 39,431
Effect of changes in exchange rates on cash and cash equivalents (34) 95
Net change in cash and cash equivalents and restricted cash (3,448) 19,800
Cash and cash equivalents at the beginning of period 12,290 11,534
Restricted cash at the beginning of period 100 1,790
Cash and cash equivalents and restricted cash at beginning of period 12,390 13,324
Cash and cash equivalents at end of period 8,841 33,084
Restricted cash at the end of period 101 40
Cash and cash equivalents and restricted cash at end of period $ 8,942 $ 33,124