Balance Sheet Components - Schedule of Deposits and Other Long-Term Assets (Detail) - USD ($) $ in Thousands |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Deposit Assets And Other Assets Noncurrent Disclosure [Abstract] | ||
| Lease security deposits | $ 1,305 | $ 1,218 |
| Prepaid research and development-related expenses | 1,047 | 518 |
| Total deposits and other long-term assets | $ 2,352 | $ 1,736 |