Intangible Assets and Goodwill - Additional Information (Details) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2021  | 
Dec. 31, 2020  | 
Dec. 31, 2019  | 
|
| Goodwill and Intangible Assets Disclosure [Abstract] | |||
| Income Tax Benefit Goodwill Impairment | $ 51,300 | ||
| Finite-Lived Intangible Assets [Line Items] | |||
| Goodwill impairment | 268,000 | ||
| Income Tax Expense (Benefit) | $ 109,300 | 15,900 | $ 55,100 | 
| Income Tax Benefit Goodwill Impairment | 51,300 | ||
| Goodwill | 416,400 | 214,000 | $ 475,800 | 
| Franchise assets | |||
| Finite-Lived Intangible Assets [Line Items] | |||
| Indefinite life Intangible asset, impairment charge | $ 0 | ||
| Franchise assets | Continuing operations | |||
| Finite-Lived Intangible Assets [Line Items] | |||
| Indefinite life Intangible asset, impairment charge | $ 0 | ||
| X | ||||||||||
- Definition Income Tax Benefit Goodwill Impairment No definition available. 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount of impairment loss resulting from write-down of assets, excluding financial assets and goodwill, lacking physical substance and having a projected indefinite period of benefit to fair value. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
  | 
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |