RELATED PARTY TRANSACTIONS- Additional Information(Detail) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended
Jul. 31, 2017
Mar. 31, 2017
Mar. 16, 2017
Jun. 30, 2018
Dec. 31, 2017
Dec. 31, 2016
Number Of Common Stock Need To Hold To Designate As Director 600,000          
Royalty Receivable         $ 71 $ 50
Schutte Note [Member] | Subsequent Event [Member]            
Proceeds from Issuance of Long-term Debt       $ 1,000    
Investor [Member]            
Sale of Stock, Number of Shares Issued in Transaction 8,912,655          
Sale of Stock, Price Per Share $ 0.4488          
ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight (0.2)          
Class of Warrant or Right, Exercise Price of Warrants or Rights $ 0.528          
Private Placement [Member] | Investor [Member]            
Sale of Stock, Consideration Received on Transaction $ 4,000          
Sale Of Stock, Issue Price Description 85          
Class of Warrant or Right, Exercise Price of Warrants or Rights $ 0.528          
Warrants Not Settleable in Cash, Fair Value Disclosure         495  
Class Of Warrants Or Rights, Expiry Period 5 years          
Main Pointe Agreement [Member]            
Proceeds from License Fees Received   $ 2,500 $ 2,500      
Asset Transferred, License Agreement   $ 309 $ 309      
Licensing Agreement, Royalty Percentage   7.50% 7.50%      
Royalty Receivable         $ 13