XML 21 R7.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities:      
Net loss $ (37,431) $ (34,683) $ (23,082)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 8,429 4,551 5,143
Impairment of long-lived assets and non-cash restructuring 827 4,425 6,472
Gain on Lease termination   (908)  
Loss on extinguishment of debt     1,343
Amortization of deferred financing costs 173 12 149
Stock-based compensation 15,802 8,990 4,613
Provision for inventory write-down 4,946 4,064 5,531
Bad debt expense, net of recoveries (229) 14,491 3,833
Provision for sales returns 2,556 1,132 1,303
Provision for warranty 656 798 1,072
Unrealized loss (gain) on foreign currency transactions 448 335 2,875
Subsidiary dissolution (68)    
Loss (gain) of disposal of property, plant and equipment (135) (468) 18
Deferred taxes   1,329 316
Changes in operating assets and liabilities:      
Accounts receivable (68,575) (6,624) (18,782)
Other receivable (9,520) (4,780) 822
Inventories (28,219) (23,241) (6,916)
Contract assets 1,488 3,915 11,341
Prepaid expenses and other assets (6,363) (2,965) 703
Accounts payable 61,697 19,092 11,136
Contract liabilities 1,031 2,215 13
Accrued and other liabilities 1,589 (6,006) (2,839)
Net cash provided by (used in) operating activities (50,898) (14,326) 5,064
Cash flows from investing activities:      
Proceeds from disposal of property, plant and equipment and other assets 165 561  
Purchases of property, plant and equipment (4,532) (5,585) (2,270)
Acquisition of business, net of cash acquired (23,647) (4,459)  
Net cash used in investing activities (28,014) (9,483) (2,270)
Cash flows from financing activities:      
Proceeds from issuance of common stock in public offerings, net of issuance costs 30,774 59,525  
Proceeds from long-term borrowings 25,000    
Repayments of long-term borrowings (625)   (13,125)
Proceeds from short-term borrowings and line of credit, net 4,000   13,774
Repayments of short-term borrowings and line of credit, net   (13,278) (16,696)
Proceeds from related party term loan 5,041   18,341
Repayments of related party term loan   (29,298)  
Payments for debt issue costs (839)    
Payment of contingent consideration (558)    
Proceeds from factored accounts receivable     11,645
Proceeds from exercise of stock awards and employee stock plan purchases 1,975 6,829 3,685
Net cash provided by financing activities 64,768 23,778 17,624
Effect of exchange rate changes on cash, cash equivalents and restricted cash (1,031) (917) 534
Net change in cash, cash equivalents and restricted cash (15,175) (948) 20,952
Cash, cash equivalents and restricted cash at beginning of period 53,639 54,587 33,635
Cash, cash equivalents and restricted cash at end of period 38,464 53,639 54,587
Reconciliation of cash, cash equivalents and restricted cash to balance sheets      
Cash and cash equivalents 34,347 46,666 45,219
Restricted cash 3,969 6,808 9,200
Long-term restricted cash 148 165 168
Cash, cash equivalents and restricted cash at end of period 38,464 53,639 54,587
Cash paid during the period for:      
Interest - bank and trade facilities 1,177 83 788
Interest - related party 65 108 981
Income taxes $ 1,017 $ 3,029 $ 2,645