Long-Term Debt - Additional Information (Detail) $ / shares in Units, $ in Thousands | Nov. 01, 2018USD ($) | Nov. 01, 2017USD ($) | Apr. 30, 2016USD ($)MonthlyPayment$ / sharesshares | Dec. 31, 2018USD ($)MonthlyPayment |
Debt Instrument [Line Items] | | | | |
Principal amount outstanding on loan | | | | $ 7,500 |
Loss from extinguishment of debt | | | | $ (498) |
Oxford Finance LLC and Silicon Valley Bank | Term Loan | | | | |
Debt Instrument [Line Items] | | | | |
Principal amount outstanding on loan | | | $ 7,500 | |
Term loan unused facility | | | $ 12,500 | |
Commitment fees for unused borrowing capacity | | $ 300 | | |
Additional borrowing description | | | | We could, at our sole discretion, borrow up to an additional $12.5 million at a certain specified time. On October 31, 2017, the draw period for the additional loan expired without us drawing down the additional loan; therefore, we paid an unused fee of approximately $0.3 million on November 1, 2017. The unused fee was recorded as a debt discount in the year ended December 31, 2017 and is being amortized to interest expense using the effective interest method through the scheduled maturity date. |
Term loan facility maturity date | | | Nov. 1, 2020 | |
Number of equal monthly payments of principal and accrued interest | MonthlyPayment | | | 30 | |
Frequency of periodic payment | | | monthly | |
Principal and interest payments commencement date | | | Jun. 1, 2018 | |
Description of term loan payment terms | | | | Term Loan would have matured on November 1, 2020. Repayment of the SVB-Oxford Term Loan was interest only through May 1, 2018, followed by 30 equal monthly payments of principal plus accrued interest commencing on June 1, 2018. |
Percentage of prime rate included in effective interest rate | | | 4.25% | |
Final payment as a percentage of amounts borrowed | | | 7.50% | |
Final payment due on the maturity date | | | $ 600 | |
Term loan interest rate description | | | | The per annum interest rate for the SVB-Oxford Term Loan was the greater of (i) 7.75% and (ii) the sum of (a) the prime 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, plus (b) 4.25%. |
Warrants exercisable exercise price | $ / shares | | | $ 3.31 | |
Oxford Finance LLC and Silicon Valley Bank | Term Loan | Maximum | | | | |
Debt Instrument [Line Items] | | | | |
Warrants issued to purchase of common stock | shares | | | 33,988 | |
Oxford Finance LLC and Silicon Valley Bank | Term Loan | Base Rate | Minimum | | | | |
Debt Instrument [Line Items] | | | | |
Minimum percentage of interest rate on borrowings | | | 7.75% | |
Silicon Valley Bank | Term Loan | | | | |
Debt Instrument [Line Items] | | | | |
Additional borrowing description | | | | Under the terms of the New Debt, we may, at our sole discretion, borrow from the Lender up to an additional $12.5 million at any time between November 1, 2018 and May 1, 2020, or Term B Loan, and together with Term A Loan, the Term Loans. In addition, each Term B Loan must be in an amount equal to the lesser of $5.0 million or the amount that is remaining under the Term B Loan. |
Term loan facility maturity date | | | | May 1, 2023 |
Number of equal monthly payments of principal and accrued interest | MonthlyPayment | | | | 30 |
Frequency of periodic payment | | | | monthly |
Principal and interest payments commencement date | | | | Dec. 1, 2020 |
Description of term loan payment terms | | | | All of the Term Loans will be due on the scheduled maturity date of May 1, 2023, or Maturity Date. Repayment of the Term Loans will be interest only through November 30, 2020, followed by 30 equal monthly payments of principal plus accrued interest commencing on December 1, 2020. |
Minimum percentage of interest rate on borrowings | | | | 5.75% |
Percentage of prime rate included in effective interest rate | | | | 0.25% |
Final payment as a percentage of amounts borrowed | | | | 7.75% |
Term loan interest rate description | | | | The per annum interest rate for any outstanding Term Loans is the greater of (i) 5.50% and (ii) the sum of (a) the prime rate reported in The Wall Street Journal plus (b) 0.25%. |
Prepayment charge | $ 100 | | | |
Maximum borrowing capacity under term loans | 20,000 | | | |
Loss from extinguishment of debt | | | | $ 500 |
Silicon Valley Bank | Term Loan | Transaction Occurring Assumption One | | | | |
Debt Instrument [Line Items] | | | | |
Prepayment fee equal to outstanding principal amount | | | | 1.00% |
Silicon Valley Bank | Term Loan | Transaction Occurring Assumption Two | | | | |
Debt Instrument [Line Items] | | | | |
Prepayment fee equal to outstanding principal amount | | | | 2.00% |
Silicon Valley Bank | Term Loan | Transaction Occurring Assumption Three | | | | |
Debt Instrument [Line Items] | | | | |
Prepayment fee equal to outstanding principal amount | | | | 3.00% |
Silicon Valley Bank | Term Loan | Base Rate | Minimum | | | | |
Debt Instrument [Line Items] | | | | |
Minimum percentage of interest rate on borrowings | | | | 5.50% |
Silicon Valley Bank | Term A Loan | | | | |
Debt Instrument [Line Items] | | | | |
Principal amount outstanding on loan | 7,500 | | | |
Repayment of Oxford Finance LLC and Silicon Valley Bank debt | 6,900 | | | |
Silicon Valley Bank | Term B Loan | | | | |
Debt Instrument [Line Items] | | | | |
Term loan unused facility | 12,500 | | | |
Minimum remaining debt amount | $ 5,000 | | | |