Leases - Schedule of Supplemental Cash Flow Information Related to Leases (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
| Cash paid for amounts included in the measurement of lease liabilities: | ||||
| Operating cash outflows from operating leases | $ 22,466 | $ 18,327 | $ 43,722 | $ 35,320 |
| Right-of-use assets obtained in exchange for lease obligations: | ||||
| Operating leases | 2,885 | 9,352 | 2,885 | 11,909 |
| Decrease in operating lease right-of-use assets due to impairment (See Note 15 for details) | $ 10,656 | $ 0 | $ 11,232 | $ 3,790 |