XML 46 R31.htm IDEA: XBRL DOCUMENT v3.7.0.1
Notes Payable - Term Loan Agreement (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended
Dec. 31, 2016
USD ($)
warrant
$ / shares
shares
Mar. 31, 2017
USD ($)
Mar. 31, 2016
USD ($)
Debt Instrument      
Repayments of note payable   $ 299 $ 80
Loan And Security Agreement      
Debt Instrument      
Repayments of note payable $ 27,500    
Promissory Note      
Debt Instrument      
Repayments of note payable 500    
CRG Servicing LLC | Term Loan Agreement      
Debt Instrument      
Proceeds from issuance of long-term debt 40,000    
Line of credit, additional borrowing capacity $ 10,000    
Debt term (in years) 6 years    
Debt instrument, term of interest-only payments (in years) 3 years    
Debt instrument, extended term interest only payments (in years) 4 years    
Final fee as a percentage of the principal outstanding (as a percent) 8.00%    
Debt instrument, prepayment fee term (in years) 5 years    
Additional interest rate, event of default (as a percent) 4.00%    
Proceeds from issuance of note payable, net $ 39,200    
Portion of proceeds used for debt repayment $ 28,000    
Number of warrants | warrant 4    
Prior to Approval Milestone | CRG Servicing LLC | Term Loan Agreement      
Debt Instrument      
Annual fixed rate (as a percent) 12.50%    
Deferred interest rate (as a percent) 4.00%    
Following Approval Milestone | CRG Servicing LLC | Term Loan Agreement      
Debt Instrument      
Annual fixed rate (as a percent) 11.50%    
Deferred interest rate (as a percent) 3.50%    
Common stock      
Debt Instrument      
Number of warrants | warrant 4    
Number of shares issuable for warrants outstanding (in shares) | shares 528,958    
Exercise price of warrants (in dollars per share) | $ / shares $ 8.06    
Fair market value of warrants $ 1,800