XML 46 R37.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - Narrative (Details) - USD ($)
3 Months Ended 9 Months Ended
Mar. 08, 2017
Jul. 23, 2015
Oct. 17, 2014
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Dec. 31, 2016
Debt Instrument [Line Items]              
Number of securities called by warrants (in shares)         7,270,070    
Interest expense       $ 300,000 $ 100,000 $ 500,000  
Warrants Expiring July 2025              
Debt Instrument [Line Items]              
Number of securities called by warrants (in shares)   15,244     15,244    
Warrant exercise price (in usd per share)   $ 16.40     $ 16.40    
Warrant expiration period   10 years          
Unamortized discount   $ 100,000          
Loan and Security Agreement              
Debt Instrument [Line Items]              
Line of credit facility, maximum borrowing capacity     $ 10,000,000        
Debt instrument, prepayment fee (as a percent) 2.00%   3.00%        
Debt instrument final payment fee (as a percent) 6.00%   6.00%        
Credit facility, prepayment fee $ 100,000            
Credit facility, final payment fee 600,000            
Credit facility, per diem interest 50,000            
Repayments of debt $ 6,600,000            
Loan and Security Agreement | Common Stock              
Debt Instrument [Line Items]              
Number of securities called by warrants (in shares)     19,380        
Warrant exercise price (in usd per share)     $ 12.90        
Loan and Security Agreement | Term Loan 1              
Debt Instrument [Line Items]              
Proceeds from credit facility     $ 5,000,000        
Interest rate (as a percent)     7.95%        
Unamortized discount             $ 120,000
Loan and Security Agreement | Term Loan 2              
Debt Instrument [Line Items]              
Proceeds from credit facility   $ 5,000,000          
Interest rate (as a percent)   8.01%