Leases - Additional Information (Details) - USD ($) $ in Thousands |
1 Months Ended | 3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|---|
Aug. 04, 2025 |
Aug. 31, 2025 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Lessee Lease Description [Line Items] | |||||
| Lessee operating option to extend | The Company has the option to extend the term for one additional five-year period. | ||||
| Operating sublease, option to extend | true | ||||
| Lease termination expense | $ 218 | $ 5,480 | |||
| Boylston Lease | |||||
| Lessee Lease Description [Line Items] | |||||
| Operating lease commencement date | Sep. 01, 2025 | ||||
| Lease expiration date | Aug. 31, 2031 | ||||
| Fixed lease payments | $ 3,800 | ||||
| Boylston Lease | Standby Letters of Credit | |||||
| Lessee Lease Description [Line Items] | |||||
| Increase in annual fixed rental payments | $ 200 | ||||
| Cambridgepark Lease | |||||
| Lessee Lease Description [Line Items] | |||||
| Non-refundable termination fee | $ 8,500 | ||||
| Lease termination expense | $ 11,200 | $ 11,200 | |||