Annual report pursuant to Section 13 and 15(d)

Contract Liabilities and Costs from Contracts with Customers - Additional Information (Details)

v3.22.0.1
Contract Liabilities and Costs from Contracts with Customers - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Contract Liabilities And Costs From Contracts With Customers [Line Items]      
Other deferred revenue $ 118,438 $ 88,608  
Expected duration of contracts one year or less    
Franchisee agreement term 10 years    
Deferred costs, current portion $ 3,712 3,281  
Deferred costs, net of current portion 42,015 35,445  
Franchise Agreements      
Contract Liabilities And Costs From Contracts With Customers [Line Items]      
Deferred costs, current portion 3,071 2,553  
Deferred costs, net of current portion 41,941 35,417  
Equipment and Other      
Contract Liabilities And Costs From Contracts With Customers [Line Items]      
Other deferred revenue 11,805 6,852  
Franchise revenue      
Contract Liabilities And Costs From Contracts With Customers [Line Items]      
Sales commission and fees $ 6,006 $ 4,234 $ 2,454