Long-Term Debt - Additional Information (Detail) - USD ($) | May 12, 2017 | Apr. 27, 2016 | Feb. 28, 2017 | Jun. 30, 2017 |
Debt Instrument [Line Items] | | | | |
Maximum borrowing capacity under term loans | | $ 20,000,000 | | |
Principal amount outstanding on loan | | | | $ 7,500,000 |
Term loan remaining borrowing capacity | | 12,500,000 | | |
Additional borrowing description | | | | We may, at our sole discretion, borrow up to an additional $12.5 million at a certain specified time, or Term B Loan, and together with the Term A Loan, the Term Loans. In May 2017, the Loan Agreement was amended to extend the draw period on the Term B Loan and modify the terms of the unused fee, or Loan Amendment. The Term B Loan originally could be drawn between December 31, 2016 and May 1, 2017, subject to our successful advancement of KO-947, a small molecule inhibitor of extracellular signal regulated kinase, into Phase 1 clinical trials. Under the Loan Amendment, the Term B Loan may be drawn between August 1, 2017 and October 31, 2017. |
Silicon Valley Bank | | | | |
Debt Instrument [Line Items] | | | | |
Warrants issued to purchase of common stock | | | 33,988 | |
Common stock, shares issued | | | 17,070 | |
Maximum | Oxford Finance LLC | | | | |
Debt Instrument [Line Items] | | | | |
Warrants issued to purchase of common stock | | | | 33,988 |
Term A Loan | | | | |
Debt Instrument [Line Items] | | | | |
Principal amount outstanding on loan | | 7,500,000 | | |
Final payment due on the maturity date | | 563,000 | | |
Fair Value Of Warrants | | $ 172,000 | | |
Term A Loan | Term Loan Warrants | | | | |
Debt Instrument [Line Items] | | | | |
Warrants exercisable exercise price | | $ 3.31 | | |
Warrants termination date | | | | Apr. 27, 2026 |
Volatility Rate | | 70.92% | | |
Expected Term | | 10 years | | |
Risk Free Interest Rate | | 2.11% | | |
Dividend yield | | 0.00% | | |
Term A Loan | Maximum | Term Loan Warrants | | | | |
Debt Instrument [Line Items] | | | | |
Warrants issued to purchase of common stock | | 67,976 | | |
Term B Loan | | | | |
Debt Instrument [Line Items] | | | | |
Description of required debt amount | | | | 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 B Loan | Term Loan Warrants | | | | |
Debt Instrument [Line Items] | | | | |
Warrant shares percentage issued of loan amount | | 3.00% | | |
Number of trading days for average closing price | | 10 days | | |
Term B Loan | Minimum | | | | |
Debt Instrument [Line Items] | | | | |
Term B Loan Minimum draw amount | | $ 5,000,000 | | |
Term Loans | | | | |
Debt Instrument [Line Items] | | | | |
Term loan facility maturity date | | Nov. 1, 2020 | | |
Description of term loan payment terms | | | | All of the Term Loans will mature on November 1, 2020, or Maturity Date. Repayment of the Term Loans is 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% | | |
Team loan effective interest rate description | | | | The per annum interest rate for any outstanding Term Loans is 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%. |
Minimum percentage of interest rate on outstanding borrowings | | | | 8.25% |
Unused fee description | | | | unused fee on the earlier of November 1, 2017, extended from May 2, 2017 under the Loan Amendment, or prior repayment of the Term Loans in an amount equal to (a) 2.75%, amended from 2.00%, multiplied by (b) $20.0 million minus the aggregate amount of the Term Loans drawn on or before October 31, 2017, extended from May 1, 2017. |
Term Loans | Base Rate | | | | |
Debt Instrument [Line Items] | | | | |
Commitment fee percentage on unused capacity | | 2.00% | | |
Term Loans | Base Rate | Loan Amendment | | | | |
Debt Instrument [Line Items] | | | | |
Commitment fee percentage on unused capacity | 2.75% | | | |
Term Loans | Transaction Occurring Assumption One | | | | |
Debt Instrument [Line Items] | | | | |
Prepayment fee equal to outstanding principal amount | | 1.00% | | |
Term Loans | Transaction Occurring Assumption Two | | | | |
Debt Instrument [Line Items] | | | | |
Prepayment fee equal to outstanding principal amount | | 2.00% | | |
Term Loans | Transaction Occurring Assumption Three | | | | |
Debt Instrument [Line Items] | | | | |
Prepayment fee equal to outstanding principal amount | | 3.00% | | |
Term Loans | Minimum | Base Rate | | | | |
Debt Instrument [Line Items] | | | | |
Minimum percentage of interest rate on outstanding borrowings | | 7.75% | | |