Leases - Summary of Additional Information Related to the leases (Detail) |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Schedule Of Additional Information Related To The Leases [Abstract] | ||
| Weighted-average remaining lease term (years) | 5 years 2 months 4 days | 5 years 11 months 19 days |
| Weighted-average discount rate | 9.08% | 9.35% |
| Weighted-average remaining lease term (years) | 3 years 9 months 29 days | 2 years 8 months 4 days |
| Weighted-average discount rate | 4.86% | 3.15% |