Balance Sheet Details - Accrued Expenses (Detail) - USD ($) $ in Thousands |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||
| Clinical trial related costs | $ 5,294 | $ 1,417 |
| Selling and marketing related costs | 1,997 | 564 |
| Legal and other professional fees | 550 | 1,631 |
| Manufacturing related costs | 201 | 498 |
| Other | 328 | 366 |
| Accrued expenses | $ 8,370 | $ 4,476 |