Debt, Commitments and Contingencies - Additional Information (Detail) | 1 Months Ended | 3 Months Ended | | |
Jul. 30, 2018ft² | Dec. 31, 2017USD ($)$ / sharesshares | Nov. 30, 2017USD ($) | Jun. 30, 2017USD ($)$ / sharesshares | Nov. 30, 2016USD ($)Tranche$ / sharesshares | Mar. 31, 2019USD ($) | Mar. 31, 2018USD ($) | Jan. 01, 2019USD ($) | Apr. 30, 2017ft² |
Debt Instrument [Line Items] | | | | | | | | | |
Loan and security agreement, payment term | | | | | | Issuable in three separate tranches (the Term Loans), $10.0 million of which was funded in November 2016, $5.0 million of which was funded in June 2017 and $5.0 million of which was funded in December 2017. | | | |
Lease, practical expedients, package | | | | | | true | | | |
Operating lease, right-of-use asset | | | | | | $ 3,323,000 | | $ 3,500,000 | |
Operating lease, liability | | | | | | $ 3,496,000 | | $ 3,500,000 | |
Operating lease, discount rate | | | | | | 9.60% | | | |
Operating lease cost | | | | | | $ 200,000 | | | |
Operating lease, weighted average remaining lease term | | | | | | 4 years 1 month 6 days | | | |
Operating lease, weighted average discount rate | | | | | | 9.60% | | | |
Lease facility | ft² | 20,508 | | | | | | | | 24,494 |
Non-cancelable operating leases termination term | 2023-05 | | | | | | | | |
Non-cancelable operating lease, existence of option to extend | false | | | | | | | | |
Non-cancelable operating lease, option to extend | With the lease amendment, we do not have an option to extend the lease | | | | | | | | |
Research and development expenses | | | | | | $ 3,345,000 | $ 6,150,000 | | |
Strategic Advisor Agreement [Member] | John D. Mendlein [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Strategic advisor agreement period, maximum | | | 4 years | | | | | | |
Strategic advisor fee monthly rate for first year | | | $ 42,500 | | | | | | |
Strategic advisor fee monthly rate for rest of term | | | $ 7,500 | | | | | | |
Strategic advisor agreement expenses | | | | | | $ 22,500 | 100,000 | | |
The Scripps Research Institute [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Termination of research funding and option agreement effective month and year | | | | | | 2018-11 | | | |
Research Funding and Option Agreement [Member] | The Scripps Research Institute [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Research and development expenses | | | | | | | $ 500,000 | | |
Silicon Valley Bank and Solar Capital, Ltd. [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Available credit under loan and security agreement | | | | | $ 20,000,000 | | | | |
Number of tranches | Tranche | | | | | 3 | | | | |
Term loan, principal outstanding before deducting debt issuance cost | | | | | | $ 13,300,000 | | | |
Term loan, debt issuance costs | | | | | | $ 300,000 | | | |
Warrants expiration year | | | | | | 7 years | | | |
Aggregate fair value of warrants using black scholes option pricing model | | $ 500,000 | | | | | | | |
Final maturity payment accrued over life of term loan through interest expense | | | | | | $ 1,800,000 | | | |
Silicon Valley Bank and Solar Capital, Ltd. [Member] | Term Loans Tranche One [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Available credit under loan and security agreement | | | | | $ 10,000,000 | | | | |
Loan and security agreement funded date | | | | | Nov. 30, 2016 | | | | |
Exercise price of warrant per share | $ / shares | | | | | $ 3.14 | | | | |
Silicon Valley Bank and Solar Capital, Ltd. [Member] | Term Loans Tranche One [Member] | Common Stock [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Warrants to purchase number of common stock, shares | shares | | | | | 47,771 | | | | |
Silicon Valley Bank and Solar Capital, Ltd. [Member] | Term Loans Tranche Two [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Available credit under loan and security agreement | | | | $ 5,000,000 | | | | | |
Loan and security agreement funded date | | | | Jun. 30, 2017 | | | | | |
Exercise price of warrant per share | $ / shares | | | | $ 3.60 | | | | | |
Silicon Valley Bank and Solar Capital, Ltd. [Member] | Term Loans Tranche Two [Member] | Common Stock [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Warrants to purchase number of common stock, shares | shares | | | | 20,833 | | | | | |
Silicon Valley Bank and Solar Capital, Ltd. [Member] | Term Loans Tranche Three [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Available credit under loan and security agreement | | $ 5,000,000 | | | | | | | |
Loan and security agreement funded date | | Dec. 31, 2017 | | | | | | | |
Exercise price of warrant per share | $ / shares | | $ 3.72 | | | | | | | |
Silicon Valley Bank and Solar Capital, Ltd. [Member] | Term Loans Tranche Three [Member] | Common Stock [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Warrants to purchase number of common stock, shares | shares | | 20,188 | | | | | | | |
Loan Amendment Agreement with SVB and Solar [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Loan and security agreement, payment term | | | | | | Under the Loan Agreement, we are obligated to make interest only payments through June 1, 2018, followed by consecutive equal monthly payments of principal and interest in arrears through the maturity date of November 18, 2020. | | | |
Maturity date | | | | | | Nov. 18, 2020 | | | |
Percentage of funded amounts for final payment | | | | | 8.75% | | | | |
Loan Amendment Agreement with SVB and Solar [Member] | Prime Rate [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest rate spread on variable rate | | | | | 4.10% | | | | |
Loan Amendment Agreement with SVB and Solar [Member] | Minimum [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Prepayment fee percentage | | | | | 1.00% | | | | |
Loan Amendment Agreement with SVB and Solar [Member] | Maximum [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Prepayment fee percentage | | | | | 3.00% | | | | |