XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Operating activities:      
Net loss $ (54,162) $ (58,452) $ (66,049)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Allowance of bad debt (32) 32 0
Lower of cost or market reserve adjustment to inventory 3,889 3,930 6,774
Depreciation and amortization 25,371 24,733 24,014
Amortization of debt issuance costs 865 900 892
Deferred income taxes, net 0 7,348 14,570
Loss on disposal of assets 1 15 13
Share-based compensation 12,121 13,046 11,804
Interest for extinguishment of debt (70) 0 0
Extinguishment of debt (6,229) 0 0
Unrealized foreign exchange gain (loss) 645 (1,152) (247)
Changes in operating assets and liabilities:      
Accounts receivable, trade (7,020) (8,421) (4,351)
Notes receivable (7,585) (389) (4)
Prepaid income tax 1 188 961
Inventories 15,786 (23,674) 1,562
Other current assets 867 1,220 5,514
Operating right of use asset 848 407 847
Accounts payable 7,069 (3,347) 3,150
Accrued income taxes 1 1 0
Accrued liabilities (3,092) 44 (308)
Lease liability (918) (438) (896)
Net cash used in by operating activities (11,644) (44,009) (1,754)
Investing activities:      
Purchase of property, plant and equipment (7,981) (15,795) (28,789)
Proceeds from disposal of equipment 114 216 1
Deposits and prepaid for equipment (2,222) (3,279) (2,688)
Purchase of intangible assets (457) (489) (640)
Net cash used in investing activities (10,546) (19,347) (32,116)
Financing activities:      
Proceeds from issuance of notes payable and long-term debt, net of debt issuance costs 0 6,229 13,661
Principal payments of long-term debt and notes payable (4,144) (5,233) (43,363)
Proceeds from line of credit borrowings 122,935 95,730 83,434
Repayments of line of credit borrowings (111,287) (96,006) (88,299)
Proceeds from bank acceptance payable 24,622 39,958 13,638
Repayments of bank acceptance payable (32,465) (31,338) (11,952)
Proceeds from issuance of convertible senior notes, net of debt issuance costs 0 (18) 76,362
Principal payments of financing lease (18) (17) (2)
Exercise of stock options 8 13 14
Payments of tax withholding on behalf of employees related to share-based compensation (960) (1,080) (897)
Proceeds from common stock offering, net 15,397 39,203 0
Net cash provided by financing activities 14,088 47,441 42,596
Effect of exchange rate changes on cash (876) (999) 298
Net (decrease)/ increase in cash, cash equivalents and restricted cash (8,978) (16,914) 9,025
Cash, cash equivalents and restricted cash at beginning of period 50,115 67,029 58,004
Cash, cash equivalents and restricted cash at end of period 41,137 50,115 67,029
Supplemental disclosure of cash flow information:      
Interest 4,899 4,971 3,172
Income taxes 1 (364) (890)
Non-cash investing and financing activities:      
Net change in accounts payable related to property and equipment additions (4,027) (2,326) 3,869
Net change in deposits and prepaid for equipment related to property and equipment additions $ 84 $ (64) $ 8,801