XML 39 R27.htm IDEA: XBRL DOCUMENT v3.7.0.1
STOCKHOLDERS' DEFICIT - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
6 Months Ended
Jun. 22, 2016
Jun. 14, 2016
Jul. 31, 2015
Mar. 09, 2015
Jun. 30, 2017
Jun. 30, 2016
Dec. 31, 2016
May 02, 2016
Jun. 30, 2015
Class of Warrant or Right [Line Items]                  
Proceeds from issuance of equity and temporary equity     $ 1,100            
Amount of equity able to raise               $ 200,000  
Value of stock issued in secondary offering         $ 20,776 $ 83,267      
Common Stock | Secondary Offering                  
Class of Warrant or Right [Line Items]                  
Share price (in dollars per share) $ 2.00                
Stock issued (in shares) 45,200,000                
Value of stock issued in secondary offering $ 83,300                
Common Stock | Over-Allotment Option                  
Class of Warrant or Right [Line Items]                  
Stock issued (in shares) 5,200,000                
PIPE Warrants                  
Class of Warrant or Right [Line Items]                  
Additional contribution by investors       $ 500          
PIPE Warrants | Common Stock                  
Class of Warrant or Right [Line Items]                  
Common stock reserved for future issuance (in shares)         3,600,000        
Class A Warrants                  
Class of Warrant or Right [Line Items]                  
Warrants issued (in shares)     31,025 1,800,000          
Exercise price of warrants (in dollars per share)       $ 5.17         $ 5.17
Class B Warrants                  
Class of Warrant or Right [Line Items]                  
Warrants issued (in shares)     31,025 1,800,000          
Exercise price of warrants (in dollars per share)       $ 6.45         6.45
Class A Warrants Prior to Addendum                  
Class of Warrant or Right [Line Items]                  
Exercise price of warrants (in dollars per share)       5.295          
Class B Warrants Prior to Addendum                  
Class of Warrant or Right [Line Items]                  
Exercise price of warrants (in dollars per share)       $ 6.595          
Series A Preferred Stock                  
Class of Warrant or Right [Line Items]                  
Shares issued (in shares)     10,822 625,000 21,645   21,645    
Share price (in dollars per share)     $ 100 $ 100.00          
Proceeds from issuance of equity and temporary equity       $ 62,500          
Redemption price (in dollars per share)       $ 5.17          
Exercise price of warrants (in dollars per share)                 $ 5.17
Series A convertible preferred stock, shares authorized (in shares)       825,000 825,000   825,000    
Dividend accrual rate         11.50%        
Convertible preferred stock series, shares outstanding (in shares)         21,645   21,645    
Convertible preferred stock series, liquidation preference         $ 2,754   $ 2,603    
Series A Preferred Stock | PIPE Warrants                  
Class of Warrant or Right [Line Items]                  
Shares issued (in shares)         10,823        
Series B Preferred Stock                  
Class of Warrant or Right [Line Items]                  
Shares converted (in shares)   614,177              
Convertible preferred stock series, shares outstanding (in shares)         0        
Series C Preferred Stock                  
Class of Warrant or Right [Line Items]                  
Shares issued (in shares)         614,177   614,177    
Series A convertible preferred stock, shares authorized (in shares)         625,000   625,000    
Shares issued in conversion (in shares)   614,177              
Dividend rate of non-cash dividend payable         11.50%        
Convertible preferred stock series, shares outstanding (in shares)         614,177   614,177    
Convertible preferred stock series, liquidation preference         $ 79,858   $ 75,491