Net and Comprehensive (Loss) Income Per Share Attributable to Common Stockholders - Schedule of Weighted Average Common Stock Equivalents Excluded from Calculation of Basic and Diluted Net and Comprehensive (Loss) Income per Share (Detail) - Weighted Average [Member] - shares |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2021 |
Jun. 30, 2020 |
Jun. 30, 2021 |
Jun. 30, 2020 |
|
| 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 | 1,594,647 | 3,846,560 | 1,611,297 | 4,094,423 |
| 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 | 550,000 | 600,000 | 550,000 | 600,000 |