Leases - Additional Information (Detail) $ in Thousands |
1 Months Ended | 12 Months Ended | |||
|---|---|---|---|---|---|
Nov. 30, 2024 |
Jan. 31, 2023
ft²
|
Feb. 28, 2022
ft²
|
Dec. 31, 2024
USD ($)
ft²
|
Dec. 31, 2023
USD ($)
|
|
| Lessee Lease Description [Line Items] | |||||
| Operating lease right-of-use assets | $ 219,292 | $ 115,375 | |||
| Lease liability | 210,198 | ||||
| Prepaid Rent | $ 4,410 | $ 1,190 | |||
| Albany Lease [Member] | |||||
| Lessee Lease Description [Line Items] | |||||
| Operating lease, existence of option to extend | true | ||||
| 840 Winter Street Lease [Member] | |||||
| Lessee Lease Description [Line Items] | |||||
| Area of space leased | ft² | 140,000 | ||||
| Operating lease, description | In February 2022 and subsequently amended in June 2023, the Company entered into an agreement to lease approximately 140,000 square feet of office, general laboratory and manufacturing space at 840 Winter Street in Waltham | ||||
| Operating lease, options to extend | The Company had options to extend the lease for two five-year terms, which were not reasonably certain of exercise as of the commencement date. | ||||
| Operating lease right-of-use assets | $ 125,700 | ||||
| Operating lease, existence of option to extend | true | ||||
| Lease liability | $ 113,100 | ||||
| Operating lease, term of contract | 12 years | ||||
| Prepaid Rent | $ 12,600 | ||||
| Initial lease term expiration period | 2036-09 | ||||
| Fixed Rate | 3.00% | ||||
| Cambridge [Member] | |||||
| Lessee Lease Description [Line Items] | |||||
| Area of space leased | ft² | 13,000 | 230,000 | |||