Net and Comprehensive Loss Per Share - Schedule of Weighted Average Common Stock Equivalents Excluded from Calculation of Basic and Diluted Net and Comprehensive Loss per Share (Detail) - Weighted Average [Member] - shares |
6 Months Ended | |
|---|---|---|
Jun. 30, 2019 |
Jun. 30, 2018 |
|
| Options to Purchase Common Stock [Member] | ||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||
| Total amount of anti-dilutive securities excluded from computation of earnings per share | 6,771,807 | 3,285,429 |
| Unvested Restricted Stock [Member] | ||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||
| Total amount of anti-dilutive securities excluded from computation of earnings per share | 53,223 | |
| Warrants to Purchase Common Stock [Member] | ||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||
| Total amount of anti-dilutive securities excluded from computation of earnings per share | 317,562 | 317,562 |