XML 64 R44.htm IDEA: XBRL DOCUMENT v3.8.0.1
EQUITY (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Nov. 06, 2017
Jul. 25, 2017
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Class of Warrant or Right [Line Items]            
Issuance of common stock as merger consideration (in shares) 3,423,367          
Issuance of common stock as merger consideration $ 19,800       $ 19,810  
Number of warrants exercised     0   0  
Proceeds from exercise of common stock warrants           $ 6,193
Warrants            
Class of Warrant or Right [Line Items]            
Exercise price per share       $ 2.6058   $ 2.6058
Proceeds from exercise of common stock warrants           $ 6,200
Class Of Warrant Or Right [Roll Forward]            
Beginning balance     23,978 68,978 23,978 2,445,653
Exercised     0 (24,733) 0 (2,401,408)
Cancelled       (20,267)   (20,267)
Ending balance     23,978 23,978 23,978 23,978
Underwriting            
Class of Warrant or Right [Line Items]            
Issuance of common stock in relation to initial public offering   9,583,332        
Public offering price   $ 4.50        
Option to purchase additional shares   1,249,999        
Gross proceeds   $ 43,100