Stockholders' Equity - Additional Information (Detail) - USD ($) | Aug. 31, 2017 | Feb. 29, 2020 | Jan. 31, 2020 | Apr. 30, 2019 | Jan. 31, 2019 | Jul. 31, 2018 | Apr. 30, 2015 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017 | Jan. 01, 2020 | May 31, 2019 | Mar. 31, 2019 | Jan. 01, 2019 | Jan. 01, 2018 | Jan. 01, 2017 | Jun. 30, 2016 |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Preferred stock, par value | | | | | | | | $ 0.001 | $ 0.001 | | | | | | | | |
Number of common stock shares reserved for issuance | | | | | | | | 1,304,598 | | | | | | | | | |
Stock options granted | | | | | | | | 76,722 | | | | | | | | | |
Weighted average exercise price, granted | | | | | | | | $ 7.15 | | | | | | | | | |
Weighted average grant date fair value of options granted | | | | | | | | $ 5.67 | $ 25.76 | $ 39.95 | | | | | | | |
Total grant date fair value of restricted stock units vested | | | | | | | | $ 39,000 | $ 200,000 | $ 100,000 | | | | | | | |
Aggregate intrinsic value of stock options exercised | | | | | | | | | 6,000 | 300,000 | | | | | | | |
Aggregate intrinsic value of restricted stock units | | | | | | | | 31,000 | $ 19,000 | $ 100,000 | | | | | | | |
Unrecognized share based compensation expense related to unvested stock options | | | | | | | | 2,400,000 | | | | | | | | | |
Unrecognized share based compensation expense related to restricted stock units | | | | | | | | $ 100,000 | | | | | | | | | |
Employee Stock Option [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Unrecognized cost expected to be recognized over a weighted average period | | | | | | | | 2 years 3 months 18 days | | | | | | | | | |
Restricted Stock Unit [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Unrecognized cost expected to be recognized over a weighted average period | | | | | | | | 8 months 12 days | | | | | | | | | |
2014 Plan [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Maximum term for stock option plan grant | | | | | | | | 10 years | | | | | | | | | |
Options vesting period | | | | | | | | 4 years | | | | | | | | | |
2015 Stock Option and Incentive Plan [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Maximum term for stock option plan grant | | | | | | | 10 years | | | | | | | | | | |
Options vesting period | | | | | | | 4 years | | | | | | | | | | |
Options vesting period, description | | | | | | | | For an initial grant to an employee, 25% of the options generally vest on the first anniversary of the original vesting date, with the balance vesting monthly over the remaining three years. For subsequent grants to an employee, the options generally vest monthly over a four-year term. | | | | | | | | | |
2015 Stock Option and Incentive Plan [Member] | One Year Anniversary [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Option vesting percentage | | | | | | | 25.00% | | | | | | | | | | |
2015 Employee Stock Purchase Plan [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Number of common stock shares reserved for issuance | | | | | | | | 78,697 | | | | | | | | | |
Class X Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Preferred stock, shares issued | | | | | | | | 1,643,961 | 2,285,952 | | | | | | | | |
VGO Fund [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Convertible preferred stock, common stock issued upon conversion | | 179,197 | 408,247 | | | | | | | | | | | | | | |
VGO Fund [Member] | Class X Convertible Preferred Stock [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Converted shares of preferred stock | | 501,483 | 1,142,478 | | | | | | | | | | | | | | |
Common Stock [Member] | Chief Financial Officer [Member] | Inducement Pool Non-Qualified Option [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Options vesting period | | | | | | 4 years | | | | | | | | | | | |
Stock options granted | | | | | | 14,285 | | | | | | | | | | | |
Weighted average exercise price, granted | | | | | | $ 11.41 | | | | | | | | | | | |
Common Stock [Member] | One Year Anniversary [Member] | Chief Financial Officer [Member] | Inducement Pool Non-Qualified Option [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Options vesting period | | | | | | 1 year | | | | | | | | | | | |
Option vesting percentage | | | | | | 25.00% | | | | | | | | | | | |
Common Stock [Member] | Monthly Basis Over Three Years [Member] | Chief Financial Officer [Member] | Inducement Pool Non-Qualified Option [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Options vesting period | | | | | | 3 years | | | | | | | | | | | |
Option vesting percentage | | | | | | 75.00% | | | | | | | | | | | |
Common Stock [Member] | Federated Kaufmann Small Cap Fund | Securities Purchase Agreement [Member] | Institutional Investor [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Shares issued during the period | | | | 660,154 | | | | | | | | | | | | | |
Shares issued, price per share | | | | $ 7.57 | | | | | | | | | | | | | |
Net proceeds from issuance of common stock | | | | $ 5,000,000 | | | | | | | | | | | | | |
ATM Offering Program [Member] | Cowen Company, LLC (Cowen) [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Net proceeds from issuance of common stock | | | | | | | | $ 1,400,000 | | | | | | | | | |
ATM Offering Program [Member] | Cowen Company, LLC (Cowen) [Member] | Sale Agreement [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Agreed upon value of sale of common stock per transaction | | | | | | | | | | | | | | | | | $ 35,000,000 |
ATM Offering Program [Member] | Common Stock [Member] | Cowen Company, LLC (Cowen) [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Shares issued during the period | | | | | | | | 193,670 | | | | | | | | | |
Shares issued, price per share | | | | | | | | $ 7.35 | | | | | | | | | |
ATM Offering Program [Member] | H.C. Wainwright & Co., LLC [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Net proceeds from issuance of common stock | | | | | | | | $ 3,000,000 | | | | | | | | | |
Commission rate equal to gross proceeds | | | | | | | | | | | | 3.00% | | | | | |
ATM Offering Program [Member] | H.C. Wainwright & Co., LLC [Member] | Sale Agreement [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Agreed upon value of sale of common stock per transaction | | | | | | | | | | | | $ 10,000,000 | | | | | |
ATM Offering Program [Member] | Common Stock [Member] | H.C. Wainwright & Co., LLC [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Shares issued during the period | | | | | | | | 611,687 | | | | | | | | | |
Shares issued, price per share | | | | | | | | $ 5.43 | | | | | | | | | |
Private Placement [Member] | VGO Fund [Member] | Securities Purchase Agreement [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Convertible preferred stock, common stock issued upon conversion | | | | | 229,283 | | | | | | | | | | | | |
Private Placement [Member] | VGO Fund [Member] | Securities Purchase Agreement [Member] | Class X Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Shares issued, price per share | $ 13.25 | | | | | | | | | | | | | | | | |
Preferred stock, shares issued | 2,285,952 | | | | | | | | | | | | | | | | |
Preferred stock, par value | $ 0.001 | | | | | | | | | | | | | | | | |
Convertible preferred stock terms of conversion | | | | | | | | Each share of preferred stock is convertible into approximately 0.357 shares of our common stock. In January 2019, the VGO Fund converted 641,991 shares of its preferred stock into 229,283 shares of common stock. | | | | | | | | | |
Convertible preferred stock, common stock issued upon conversion | 0.357 | | | | | | | | | | | | | | | | |
Converted shares of preferred stock | | | | | 641,991 | | | | | | | | | | | | |
Private Placement [Member] | Remaining Purchasers [Member] | Securities Purchase Agreement [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Warrants to purchase number of common stock, shares | 463,735 | | | | | | | | | | | | | | | | |
Gross proceeds from transaction | $ 45,800,000 | | | | | | | | | | | | | | | | |
Private Placement [Member] | Common Stock [Member] | VGO Fund [Member] | Securities Purchase Agreement [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Shares issued during the period | 126,985 | | | | | | | | | | | | | | | | |
Shares issued, price per share | $ 37.10 | | | | | | | | | | | | | | | | |
Private Placement [Member] | Common Stock [Member] | Remaining Purchasers [Member] | Securities Purchase Agreement [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Shares issued during the period | 292,453 | | | | | | | | | | | | | | | | |
Shares issued, price per share | $ 37.10 | | | | | | | | | | | | | | | | |
Private Placement [Member] | Common Stock [Member] | Remaining Purchasers [Member] | Maximum [Member] | Securities Purchase Agreement [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Warrants to purchase number of common stock, shares | 109,743 | | | | | | | | | | | | | | | | |
Private Placement [Member] | Warrants [Member] | Remaining Purchasers [Member] | Securities Purchase Agreement [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Exercise price of warrant per share | $ 64.92 | | | | | | | | | | | | | | | | |
Warrants expiration date | Dec. 31, 2019 | | | | | | | | | | | | | | | | |
IPO [Member] | 2015 Stock Option and Incentive Plan [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Effective date of plan | | | | | | | | May 6, 2015 | | | | | | | | | |
Number of common stock shares reserved for issuance | | | | | | | 112,399 | | | | | | | | | | |
Stock option grants description | | | | | | | | The number of shares reserved and available for issuance under the 2015 Plan will automatically increase each January 1, beginning on January 1, 2016 and thereafter until January 1, 2019, by the lesser of (i) 1,840,000 shares, (ii) 4% of the outstanding number of shares of our common stock on the immediately preceding December 31 or (iii) an amount determined by our board of directors. | | | | | | | | | |
Percentage threshold of outstanding shares as of December 31 of each year for calculation of annual increase in authorized shares under the plan | | | | | | | 4.00% | | | | | | | | | | |
Additional number of common stock shares reserved for issuance | | | | | | | | | | | | | 71,428 | 87,368 | 85,111 | 67,842 | |
IPO [Member] | 2015 Stock Option and Incentive Plan [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Number of common stock shares reserved for issuance | | | | | | | | | | | 260,999 | | | | | | |
IPO [Member] | 2015 Employee Stock Purchase Plan [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Effective date of plan | | | | | | | | May 6, 2015 | | | | | | | | | |
Number of common stock shares reserved for issuance | | | | | | | 16,258 | | | | | | | | | | |
Percentage threshold of outstanding shares as of December 31 of each year for calculation of annual increase in authorized shares under the plan | | | | | | | 1.00% | | | | | | | | | | |
Additional number of common stock shares reserved for issuance | | | | | | | | | | | | | | 21,842 | 21,277 | 16,960 | |
IPO [Member] | 2015 Employee Stock Purchase Plan [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Number of common stock shares reserved for issuance | | | | | | | | | | | 78,697 | | | | | | |
IPO [Member] | Maximum [Member] | 2015 Stock Option and Incentive Plan [Member] | | | | | | | | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | | | | | | | | |
Annual increase in shares authorized under plan, shares threshold | | | | | | | 131,428 | | | | | | | | | | |