XML 16 R6.htm IDEA: XBRL DOCUMENT v3.21.1
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Cash flows from operating activities:    
Net income (loss) $ (23,225) $ (8,771)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 1,265 1,256
Impairment of long-lived assets 4,443  
Loss on extinguishment of debt   1,343
Amortization of deferred financing costs 12 141
Stock-based compensation 1,352 782
Provision for inventory write-down 666 1,421
Allowance for doubtful accounts 14,805 24
Provision for sales returns 239 (231)
Provision for warranty 269  
Unrealized gain on foreign currency transactions (883) (1,983)
Deferred taxes (134) (820)
Changes in operating assets and liabilities:    
Accounts receivable (1,423) 9,109
Inventories (3,239) 14,129
Contract assets (267) (7,048)
Prepaid expenses and other assets (3,864) (3,285)
Accounts payable 3,539 (1,261)
Contract liabilities 32 (275)
Accrued and other liabilities (523) (3,937)
Net cash provided by (used in) operating activities (6,936) 594
Cash flows from investing activities:    
Purchases of property, plant and equipment (1,266) (560)
Acquisition of business, net of cash acquired (4,258)  
Net cash used in investing activities (5,524) (560)
Cash flows from financing activities:    
Proceeds from issuance of common stock in public offerings, net of issuance costs 59,525  
Proceeds from short-term borrowings and line of credit   1,307
Repayments of short-term borrowings and line of credit (11,494) (4,167)
Repayments of long-term borrowings   (13,125)
Proceeds from related party term loan   18,361
Repayments of related party term loan (29,298)  
Proceeds from exercise of stock awards and employee stock plan purchases 2,569 709
Net cash provided by financing activities 21,302 3,085
Effect of exchange rate changes on cash, cash equivalents and restricted cash 404 (873)
Net increase in cash, cash equivalents and restricted cash 9,246 2,246
Cash, cash equivalents and restricted cash at beginning of period 54,587 33,635
Cash, cash equivalents and restricted cash at end of period 63,833 35,881
Reconciliation of cash, cash equivalents and restricted cash to statement of financial position    
Cash and cash equivalents 56,818 26,437
Restricted cash 6,848 9,281
Long-term restricted cash 167 163
Cash, cash equivalents and restricted cash at end of period 63,833 35,881
Cash paid during the period for:    
Interest - bank and trade facilities 83 424
Interest - related party 94 152
Income taxes $ 1,206 $ 1,504