Leases - Supplemental Information Related to Leases (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | |||
|---|---|---|---|---|---|
Sep. 30, 2024 |
Sep. 30, 2023 |
Sep. 30, 2024 |
Sep. 30, 2023 |
Dec. 31, 2023 |
|
| Leases [Abstract] | |||||
| Operating lease cost | $ 3,472 | $ 2,919 | $ 9,425 | $ 8,540 | |
| Cash paid for amounts included in the measurement of operating lease liabilities | 2,420 | 3,533 | 9,171 | 10,329 | |
| Operating lease right-of-use assets obtained in exchange for new operating lease liabilities | $ 34,434 | $ 1,214 | $ 37,349 | $ 5,329 | |
| Weighted-average remaining lease term — operating leases | 8 years 1 month 6 days | 8 years 1 month 6 days | 3 years | ||
| Weighted-average discount rate — operating leases | 8.20% | 8.20% | 4.90% | ||