Leases - Additional Information (Details) - USD ($) $ in Thousands |
1 Months Ended | 3 Months Ended | 6 Months Ended | ||||||
|---|---|---|---|---|---|---|---|---|---|
Sep. 30, 2023 |
Aug. 31, 2022 |
Aug. 01, 2022 |
Jun. 30, 2026 |
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
Dec. 31, 2025 |
|
| Lessee, Lease, Description [Line Items] | |||||||||
| Derecognition of right-of-use asset and lease liabilities | $ 3,374 | $ 0 | |||||||
| Weighted-average remaining lease term | 1 year 10 months 24 days | 1 year 10 months 24 days | 1 year 10 months 24 days | 5 years 2 months 12 days | |||||
| Weighted-average discount rate | 9.40% | 9.40% | 9.40% | 8.70% | |||||
| Cash paid for measurement of lease liabilities | $ 300 | $ 300 | $ 700 | $ 600 | |||||
| Redwood City, California | |||||||||
| Lessee, Lease, Description [Line Items] | |||||||||
| Lease expiration date | 2031-06 | 2027-09 | |||||||
| Lessee, operating lease, option to terminate | true | ||||||||
| Derecognition of right-of-use asset and lease liabilities | $ 3,400 | ||||||||
| Lessor, operating lease, termination description | The lease includes a mutual early termination option that permits either party to terminate the lease by providing at least fifteen months' prior written notice. | ||||||||
| Lessee, operating lease, termination description | The lease includes a mutual early termination option that permits either party to terminate the lease by providing at least fifteen months' prior written notice. | ||||||||
| Burlington, Massachusetts | |||||||||
| Lessee, Lease, Description [Line Items] | |||||||||
| Lessee, operating lease, option to extend | true | ||||||||
| Lessee, operating lease, extension term description | with an option to extend the term for an additional five years | ||||||||
| Lessee, operating lease, extension term | 5 years | ||||||||
| South San Francisco, California | |||||||||
| Lessee, Lease, Description [Line Items] | |||||||||
| Lessee, operating lease, term | 7 years | 7 years | 7 years | ||||||
| Lessee, operating lease, option to extend | true | ||||||||
| Lessee, operating lease, extension term description | an option to extend the lease for an additional five years. | ||||||||
| Lessee, operating lease, extension term | 5 years | ||||||||