Property and Equipment, Net - Summary of Property and Equipment, Net (Details) - USD ($) $ in Thousands |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | $ 490,370 | $ 377,904 |
| Less: accumulated depreciation and amortization | (218,593) | (175,260) |
| Property and equipment, net | 271,777 | 202,644 |
| Computer hardware and software | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 62,945 | 51,984 |
| Buildings | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 21,486 | 0 |
| Leasehold improvements | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 225,647 | 203,124 |
| Furniture and equipment | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 100,025 | 78,492 |
| Construction in progress | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | $ 80,267 | $ 44,304 |