Net Loss Per Share - Summary of Diluted Net Loss Per Share Attributable to Common Stockholders (Detail) - shares |
12 Months Ended | |
|---|---|---|
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share, amount | 6,179,979 | 16,374,120 |
| Convertible Preferred Stock [Member] | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share, amount | 12,596,064 | |
| Employee Stock Option [Member] | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share, amount | 3,770,086 | 3,535,560 |
| Restricted Stock Units (RSUs) [Member] | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share, amount | 2,409,893 | 242,496 |