INCOME TAXES (Details-Deferred income taxes) - USD ($) $ in Thousands |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Deferred Income Taxes and Other Assets [Abstract] | ||
| Net operating loss carryforwards | $ 2,627 | $ 1,608 |
| Business credit carryforwards | 620 | 100 |
| Intangible assets | 890 | 1,002 |
| Stock-based compensation | 6,740 | 4,535 |
| Inventory reserve | 268 | 0 |
| Operating lease liabilities | 2,866 | |
| Deferred rent | 0 | 372 |
| Other | 383 | 129 |
| Total deferred tax assets | 14,394 | 7,746 |
| Deferred Tax Liabilities, Gross [Abstract] | ||
| Operating lease assets | (2,437) | |
| Property and equipment | (390) | (687) |
| CanX intangible assets | (1,054) | (1,064) |
| Other | (172) | |
| Total deferred tax liabilities | (4,053) | (1,751) |
| Valuation allowance | (10,762) | (7,060) |
| Net deferred tax liabilities | $ (421) | $ (1,065) |
| X | ||||||||||
- Definition Deferred Tax Asset, Operating Lease Liabilities No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liability, Operating Lease Assets No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from intangible assets including goodwill. No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from inventory. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible general business tax credit carryforwards. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, before allocation of valuation allowances, of deferred tax asset attributable to deductible differences from reserves and accruals, compensation and benefit costs, and other provisions, reserves, and allowances. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax consequences attributable to taxable temporary differences derived from inventory. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from intangible assets including goodwill. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|