XML 31 R20.htm IDEA: XBRL DOCUMENT v3.10.0.1
Term Loan - Additional Information (Details) - USD ($)
9 Months Ended
Jun. 14, 2018
Sep. 30, 2018
Sep. 30, 2017
Mar. 31, 2017
Debt Instrument [Line Items]        
Proceeds from long-term debt   $ 60,000,000 $ 20,000,000  
Loss on extinguishment of debt   1,007,000    
Term Loan A        
Debt Instrument [Line Items]        
Debt instrument, carrying value   $ 80,000,000    
Loan And Security Agreement | Term Loan A        
Debt Instrument [Line Items]        
Maximum borrowing capacity       $ 20,000,000
Amended and Restated Loan and Security Agreement        
Debt Instrument [Line Items]        
Loss on extinguishment of debt $ 1,007,000      
Debt instrument, prepayment terms   The Company has the option to prepay all, but not less than all, of the borrowed amounts, provided that the Company will be obligated to pay a prepayment fee equal to (a) the aggregate amount of interest that the Company would have paid through the maturity date if prepayment is made on or before the first anniversary of the applicable funding date of the Term Loan, (b) 4.0% of the outstanding principal balance of the applicable Term Loan if prepayment is made after the first anniversary of the applicable funding date of the Term Loan, (c) 3.0% of the outstanding principal balance of the applicable Term Loan if prepayment is made by the after second anniversary of the applicable funding date of the Term Loan, or (d) 1.5% of the outstanding principal balance of the applicable Term Loan if prepayment is made after the third anniversary of the applicable funding date of the Term Loan.    
Amended and Restated Loan and Security Agreement | Loan Prepayment After First Anniversary        
Debt Instrument [Line Items]        
Debt instrument prepayment fee percentage   4.00%    
Amended and Restated Loan and Security Agreement | Loan Prepayment After Second Anniversary        
Debt Instrument [Line Items]        
Debt instrument prepayment fee percentage   3.00%    
Amended and Restated Loan and Security Agreement | Loan Prepayment After Third Anniversary        
Debt Instrument [Line Items]        
Debt instrument prepayment fee percentage   1.50%    
Amended and Restated Loan and Security Agreement | Term Loans        
Debt Instrument [Line Items]        
Debt instrument, payment terms   All outstanding Term Loans will mature on June 1, 2023. Under the Term A Loan, the Company will make interest-only payments for 24 months through June 1, 2020; however, if the Company draws the Term B Loan, the Company will make interest-only payments for 36 months through June 1, 2021. The interest-only payment period will be followed by 36 equal monthly payments, or 24 equal monthly payments if the Company draws the Term B Loan, of principal and interest payments.    
Debt instrument, maturity date   Jun. 01, 2023    
Debt instrument, interest rate terms   The Term Loans will bear interest at a floating per annum rate calculated as 7.79% plus the greater of the 30-day U.S. Dollar LIBOR rate reported in The Wall Street Journal on the last business day of the month that immediately precedes the month in which the interest will accrue or 1.91%, with a minimum rate of 9.7% and maximum rate of 12.29%.    
Debt instrument, annual interest rate   7.79%    
Debt instrument, basis spread on variable rate   1.91%    
Amended and Restated Loan and Security Agreement | Term Loans | Minimum        
Debt Instrument [Line Items]        
Debt instrument, annual interest rate   9.70%    
Amended and Restated Loan and Security Agreement | Term Loans | Maximum        
Debt Instrument [Line Items]        
Debt instrument, annual interest rate   12.29%    
Amended and Restated Loan and Security Agreement | Term Loan A        
Debt Instrument [Line Items]        
Proceeds from long-term debt 60,000,000      
Debt instrument, interest only payments period   24 months through June 1, 2020    
Debt instrument final exit fee payment percentage   6.50%    
Debt instrument, carrying value   $ 80,000,000    
Debt instrument, debt issuance costs   $ 1,570,000    
Debt instrument, effective interest rate before debt issuance costs and final exit fee   10.80%    
Debt instrument, effective interest rate including debt issuance costs and final exit fee   13.40%    
Debt instrument, final exit fee accrued   $ 5,200,000    
Amended and Restated Loan and Security Agreement | Term Loan A | Achievement of One of Two Milestones        
Debt Instrument [Line Items]        
Maximum borrowing capacity 80,000,000      
Amended and Restated Loan and Security Agreement | Term Loan B        
Debt Instrument [Line Items]        
Period to borrow funds after achievement of milestone   30 days    
Debt instrument, possible borrowing date   Dec. 31, 2019    
Payment of unused line fee   $ 450,000    
Debt instrument, interest only payments period   36 months through June 1, 2021    
Debt instrument final exit fee payment percentage   4.00%    
Amended and Restated Loan and Security Agreement | Term Loan B | Achievement of One of Two Milestones        
Debt Instrument [Line Items]        
Maximum borrowing capacity $ 45,000,000