Commitments and Contingencies - Schedule of Minimum Annual Payments Under Operating Lease Agreements (Detail) - USD ($) $ in Thousands |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Operating Leases | ||
| 2022 | $ 9,642 | |
| 2023 | 9,501 | |
| 2024 | 12,627 | |
| 2025 | 10,504 | |
| 2026 | 10,217 | |
| Thereafter | 59,557 | |
| Total minimum payments | 112,048 | |
| Less: Amounts representing interest expense | (6,515) | |
| Less: Amounts representing lease payments under the Boston Lease | (79,114) | |
| Present value of future minimum lease payments | 26,419 | |
| Less: Current portion of lease liability | (7,483) | $ (5,874) |
| Noncurrent portion of lease liability | $ 18,936 | $ 19,225 |