Net loss per share - Schedule of Antidilutive Securities Excluded From Computation of Earnings Per Share (Detail) - shares |
12 Months Ended | |
|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share, amount | 5,781,568 | 3,753,161 |
| Options to purchase common stock [Member] | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share, amount | 5,692,514 | 3,344,765 |
| Unvested restricted stock [Member] | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share, amount | 89,054 | 408,396 |