LICENSED TECHNOLOGY - Licensed technology (Details) - USD ($)  | 
Jun. 30, 2019  | 
Dec. 31, 2018  | 
|---|---|---|
| LICENSED TECHNOLOGY | ||
| Licensed technology | $ 42,606,000 | $ 44,859,000 | 
| Less accumulated amortization | 3,841,000 | 1,817,000 | 
| Licensed technology, net | $ 38,765,000 | $ 43,042,000 | 
| X | ||||||||||
- Definition Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- References No definition available. 
  |