XML 45 R33.htm IDEA: XBRL DOCUMENT v3.7.0.1
FAIR VALUE OF FINANCIAL INSTRUMENTS - Changes in fair value of the Company level 3 financial instruments (unaudited) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Mar. 31, 2016
Mar. 31, 2017
Mar. 31, 2016
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]      
Beginning balance $ (1,865) $ (3,739) $ (978)
Increase due to change in fair value of warrant liabilities (4,805) (1,490) (5,692)
Reclass of fair value of warranty liability to common stock upon exercise of warrants 706 $ 5,229 706
Ending balance $ (5,964)   $ (5,964)