Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Additional Information (Details)

v3.22.4
Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
1 Months Ended 12 Months Ended
Sep. 30, 2020
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Jan. 31, 2014
Schedule Of Accounting Policies [Line Items]            
Cash equivalents   $ 207,500,000 $ 700,000      
Cash and cash equivalents   $ 298,529,000 252,141,000 $ 293,666,000 $ 32,117,000  
Description of trade receivables, period   Balances due in respect of credit cards processed through the Company’s fuel suppliers and other providers are collected within two to three days depending upon the day of the week of the purchase and time of day of the purchase. Receivables from independent dealers and customer credit accounts are typically due within one to 30 days and are stated as amounts due.        
Receivable Write Offs   $ 0 0 0    
Impairment losses related to property and equipment and right-of-use assets   3,700,000 3,200,000 4,700,000    
Impairment recognized for long-lived intangible assets   0 0 0    
Impairment for goodwill   $ 0 0 0    
Capitalized Contract Cost, Amortization Period   1 year        
Excise and Sales Taxes   $ 1,015,200,000 1,004,800,000 584,600,000    
Advertising costs, net of co-op advertising reimbursement   $ 5,200,000 4,400,000 3,800,000    
Percentage of realization settlement related to Uncertain tax positions   50.00%        
Contribution percentage of retirement plan for employees   75.00%        
Deferred compensation plan   90.00%        
Defined contribution plan, expense for matching contributions   $ 1,000,000.0 1,600,000 $ 800,000    
Other Current Liabilities            
Schedule Of Accounting Policies [Line Items]            
Contract liability for customer loyalty program   900,000 1,500,000      
Ligad Investments And Construction Ltd            
Schedule Of Accounting Policies [Line Items]            
Related Party Transaction, Due from (to) Related Party   $ 700,000        
Bearing interest rate   1.00%        
Debt instrument, payable date   Dec. 31, 2023        
Consideration of fixed lease payment $ 300,000          
Amount related to sale of properties to third party $ 7,500,000          
Option agreement, exercisable date Sep. 30, 2023          
Lease agreement period related to properties 3 years          
Ligad Investments And Construction Ltd | Ligad Investments and Construction Ltd.            
Schedule Of Accounting Policies [Line Items]            
Owned equity rights           50.00%
New Israeli Shekels            
Schedule Of Accounting Policies [Line Items]            
Cash and cash equivalents   $ 500,000 $ 700,000