| Year ended December 31, | ||||||||
| 2017 | 2016 | |||||||
| Domestic | $ | (7,328 | ) | $ | 5,375 | |||
| Foreign | (4,112 | ) | 969 | |||||
| Total | $ | (11,440 | ) | $ | 6,344 | |||
| Year ended December 31, | ||||||||
2017 | 2016 | |||||||
| Current: | ||||||||
| Federal | $ | (184 | ) | $ | 0 | |||
| State | 39 | 222 | ||||||
| Foreign | 194 | 79 | ||||||
| Total current income tax expense | 49 | 301 | ||||||
| Deferred: | ||||||||
| Federal | (600 | ) | 0 | |||||
| State | (67 | ) | 0 | |||||
| Foreign | 0 | 0 | ||||||
| Total deferred income tax (benefit) expense | (667 | ) | 0 | |||||
| Income tax (benefit) expense, net | $ | (618 | ) | $ | 301 | |||
| Year ended December 31, | ||||||||
2017 | 2016 | |||||||
| Federal tax expense at the statutory rate | $ | (4,004 | ) | $ | 2,220 | |||
| Current year permanent differences | 239 | 598 | ||||||
| State income taxes, net of federal tax impact | (262 | ) | 528 | |||||
| Federal tax reform – deferred rate change | 19,395 | 0 | ||||||
| State deferred rate change | 239 | 0 | ||||||
| Foreign repatriation, net of foreign tax credits | (544 | ) | 165 | |||||
| Effect of tax rates of foreign subsidiaries | 203 | (51 | ) | |||||
| Currency translation effect on temporary differences | (372 | ) | 626 | |||||
| Change in valuation allowance | (15,230 | ) | (6,256 | ) | ||||
| State NOL carryforwards, stock compensation and other items | (282 | ) | 2,471 | |||||
| Income tax (benefit) expense, net | $ | (618 | ) | $ | 301 | |||
| December 31, | ||||||||
| 2017 | 2016 | |||||||
| Deferred tax assets: | ||||||||
| Compensation and benefit accruals | $ | 585 | $ | 1,517 | ||||
| Inventory valuation | 739 | 1,481 | ||||||
| Federal and state net operating loss carryforwards | 32,646 | 49,298 | ||||||
| Deferred revenue | 296 | 63 | ||||||
| Accounts receivable allowance | 34 | 153 | ||||||
| Defined benefit pension plan | 802 | 1,627 | ||||||
| Foreign deferred revenue and other provisions | 4,942 | 3,269 | ||||||
| AMT credits | 0 | 185 | ||||||
| Other | 917 | 777 | ||||||
| Total | 40,961 | 58,370 | ||||||
| Domestic valuation allowance | (35,387 | ) | (52,900 | ) | ||||
| Foreign valuation allowance | (4,942 | ) | (3,269 | ) | ||||
| Total deferred tax assets | 632 | 2,201 | ||||||
| Deferred tax liabilities: | ||||||||
| Foreign subsidiaries – unrepatriated earnings | 0 | (543 | ) | |||||
| Depreciation | (632 | ) | (1,658 | ) | ||||
| Total deferred tax liabilities | (632 | ) | (2,201 | ) | ||||
| Net deferred tax asset | $ | 0 | $ | 0 | ||||