Property and Equipment, Net - Summary of Property and Equipment, Net (Details) - USD ($) $ in Thousands |
Dec. 31, 2018 |
Dec. 31, 2017 |
|---|---|---|
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | $ 279,556 | $ 204,525 |
| Less: accumulated depreciation and amortization | (66,996) | (37,763) |
| Property and equipment, net | 212,560 | 166,762 |
| Computer Hardware and Software | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 27,920 | 28,685 |
| Buildings | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 54,050 | 59,530 |
| Leasehold Improvements | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 107,265 | 52,252 |
| Land | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 4,630 | |
| Furniture and Equipment | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 75,570 | 49,587 |
| Construction in Progress | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | $ 14,751 | $ 9,841 |