Leases - Schedule of Supplemental Cash Flow Information Related to Leases (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Cash paid for amounts included in the measurement of lease liabilities: | |||
| Operating cash outflows from operating leases | $ 74,278 | $ 56,370 | $ 51,657 |
| Right-of-use assets obtained in exchange for lease obligations: | |||
| Operating leases | 40,866 | 231,728 | 110,845 |
| Decrease in operating lease right-of-use assets due to impairment (See Note 17) | $ 131,646 | $ 0 | $ 0 |