XML 48 R36.htm IDEA: XBRL DOCUMENT v3.6.0.2
FAIR VALUE OF FINANCIAL INSTRUMENTS - Changes in fair value of the Company level 3 financial instruments (unaudited) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 31, 2015
Dec. 31, 2016
Dec. 31, 2015
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]      
Beginning balance $ (635) $ (3,739) $ (978)
Increase due to change in fair value of warrant liabilities (1,230) (1,490) (887)
Reclass of fair value of warranty liability to common stock upon exercise of warrants   $ 5,229  
Ending balance $ (1,865)   $ (1,865)