Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Additional Information (Details)

v3.24.0.1
Summary of Significant Accounting Policies - Additional Information (Details)
12 Months Ended
Dec. 31, 2023
USD ($)
Sites
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Jan. 31, 2014
Schedule Of Accounting Policies [Line Items]          
Cash equivalents $ 144,300,000 $ 207,500,000      
Cash and cash equivalents 218,120,000 298,529,000 $ 252,141,000 $ 293,666,000  
FDIC amount $ 250,000,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 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 7,900,000 3,700,000 3,200,000    
Impairment recognized for long-lived intangible assets 0 0 0    
Impairment for goodwill $ 0 0 0    
Number of sites acquired | Sites 64        
Capitalized Contract Cost, Amortization Period 1 year        
Excise and Sales Taxes $ 1,173,900,000 1,015,200,000 1,004,800,000    
Advertising costs, net of co-op advertising reimbursement $ 5,100,000 5,200,000 4,400,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,500,000 1,000,000 $ 1,600,000    
Related Party          
Schedule Of Accounting Policies [Line Items]          
Due from others 935,000 1,151,000      
Other Current Liabilities [Member]          
Schedule Of Accounting Policies [Line Items]          
Contract liability for customer loyalty program $ 1,100,000 900,000      
Ligad Investments And Construction Ltd          
Schedule Of Accounting Policies [Line Items]          
Bearing interest rate 1.00%        
Debt instrument, payable date Dec. 31, 2024        
Consideration of fixed lease payment $ 300,000        
Amount related to sale of properties to third party $ 6,500,000        
Option agreement, exercisable date Feb. 28, 2026        
Ligad Investments And Construction Ltd | Related Party          
Schedule Of Accounting Policies [Line Items]          
Due from others $ 600,000        
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 $ 1,400,000 $ 500,000