BASIS OF PRESENTATION (Parenthetical) (Details 1) - USD ($) |
6 Months Ended | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2020 |
Jun. 30, 2019 |
Dec. 31, 2019 |
|||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||
Preferred stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | ||||||||||
Preferred stock, authorized | 15,000,000 | 20,000,000 | 15,000,000 | ||||||||||
Preferred stock, issued | 0 | 0 | 0 | ||||||||||
Preferred stock, outstanding | 0 | 0 | 0 | ||||||||||
Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | ||||||||||
Common stock, authorized | 250,000,000 | 250,000,000 | 250,000,000 | ||||||||||
Common stock, outstanding | 48,987,189 | 37,880,211 | 48,471,446 | ||||||||||
Increase in equity method investment | $ 13,366,000 | ||||||||||||
Increase (decrease) in accounts payable and accrued expenses | $ 10,377,000 | 11,517,000 | $ 11,498,000 | ||||||||||
Increase (decrease) in cash and cash equivalent | (730,000) | (958,000) | |||||||||||
Decrease in prepaid expenses and other current assets | 1,170,000 | 596,000 | 1,402,000 | ||||||||||
Increase in warrant derivative current liabilities | 1,539,000 | 9,023,000 | 38,000 | ||||||||||
Increase in short-term notes payable | 4,271,000 | 11,254,000 | 3,749,000 | ||||||||||
Increase (decrease) in additional paid-in capital | 216,376,000 | 163,248,000 | 215,207,000 | ||||||||||
Increase in accounts receivable | 1,457,000 | 2,282,000 | 2,150,000 | ||||||||||
Decrease in retained earnings | $ (230,393,000) | (206,391,000) | $ (226,229,000) | ||||||||||
Adjustments [Member] | |||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||
Increase in equity method investment | [1] | 13,366,000 | |||||||||||
Increase (decrease) in accounts payable and accrued expenses | [2],[3] | 62,000 | |||||||||||
Increase in noncontrolling interest | [1] | 785,000 | |||||||||||
Increase (decrease) in cash and cash equivalent | 953,000 | ||||||||||||
Decrease in prepaid expenses and other current assets | [2],[3] | (107,000) | |||||||||||
Increase in warrant derivative current liabilities | [2],[4] | 9,023,000 | |||||||||||
Increase in short-term notes payable | [4] | 91,000 | |||||||||||
Decrease in long-term notes payable | [4] | (703,000) | |||||||||||
Increase (decrease) in additional paid-in capital | [4],[5] | 10,164,000 | |||||||||||
Increase in accounts receivable | [2] | 301,000 | |||||||||||
Increase in short-term warrant liability | 1,200,000 | ||||||||||||
Decrease in long-term warrant liability | [2] | (1,200,000) | |||||||||||
Decrease in retained earnings | [5] | (16,888,000) | |||||||||||
Adjustments [Member] | Warrant Adjustments [Member] | |||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||
Increase in warrant derivative current liabilities | 7,800,000 | ||||||||||||
Increase in short-term notes payable | 90,000 | ||||||||||||
Decrease in long-term notes payable | (703,000) | ||||||||||||
Increase (decrease) in additional paid-in capital | (9,700,000) | ||||||||||||
Adjustments [Member] | Warrant Adjustments [Member] | 2018 Warrant [Member] | |||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||
Increase (decrease) in additional paid-in capital | 18,300,000 | ||||||||||||
Decrease in retained earnings | (18,300,000) | ||||||||||||
Adjustments [Member] | Variable Consideration [Member] | |||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||
Increase (decrease) in accounts payable and accrued expenses | (110,000) | ||||||||||||
Increase in accounts receivable | 301,000 | ||||||||||||
Increase (decrease) in income tax receivable | (10,000) | ||||||||||||
Increase (decrease) in income tax payable | 24,000 | ||||||||||||
Adjustments [Member] | Tax Provision [Member] | |||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||
Increase (decrease) in income tax receivable | 90,000 | ||||||||||||
Increase (decrease) in income tax payable | (24,000) | ||||||||||||
Adjustments [Member] | EJ Holding, Inc. [Member] | |||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||
Increase in equity method investment | 13,400,000 | ||||||||||||
Increase (decrease) in accounts payable and accrued expenses | 172,000 | ||||||||||||
Increase in noncontrolling interest | 785,000 | ||||||||||||
Increase (decrease) in cash and cash equivalent | (12,200,000) | ||||||||||||
Decrease in prepaid expenses and other current assets | $ (187,000) | ||||||||||||
|