Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Additional Information (Details)

v3.22.0.1
Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
1 Months Ended 12 Months Ended
Sep. 30, 2020
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Jan. 31, 2014
Schedule Of Accounting Policies [Line Items]            
Cash equivalents   $ 700,000 $ 102,400,000      
Cash and cash equivalents   252,141,000 293,666,000 $ 32,117,000 $ 29,891,000  
Restricted cash   20,402,000 16,529,000 14,423,000 $ 13,749,000  
Investments   $ 31,800,000 31,800,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 two to 10 days and are stated as amounts due.        
Description of balance of investments   investments at December 31, 2021 and 2020 secured 98% of the outstanding principal amount of the GPMP PNC Term Loan as defined and described in Note 12 below, and will secure this balance until the loan is fully repaid. As a result, this amount was classified as a current asset at December 31, 2021 and a non-current asset at December 30, 2020.        
Receivable Write Offs   $ 0 0 0    
Impairment losses related to property and equipment and right-of-use assets   3,200,000 4,700,000 5,100,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,004,800,000 584,600,000 500,100,000    
Advertising costs, net of co-op advertising reimbursement   $ 4,400,000 3,800,000 4,000,000.0    
Percentage of realization settlement related to Uncertain tax positions   50.00%        
Contribution percentage of retirement plan for employees   75.00%        
Defined contribution plan, expense for matching contributions   $ 1,400,000 200,000 $ 200,000    
Other Current Liabilities            
Schedule Of Accounting Policies [Line Items]            
Contract liability for customer loyalty program   1,500,000 1,200,000      
Ligad Investments And Construction Ltd            
Schedule Of Accounting Policies [Line Items]            
Owned equity rights           50.00%
Related Party Transaction, Due from (to) Related Party   $ 1,000,000.0        
Bearing interest rate   1.00%        
Debt instrument, payable date   Dec. 31, 2022        
Consideration of fixed lease payment $ 400,000          
Amount related to sale of properties to third party $ 8,500,000          
Option agreement, exercisable date Sep. 30, 2022          
Lease agreement period related to properties 3 years          
New Israeli Shekels            
Schedule Of Accounting Policies [Line Items]            
Cash and cash equivalents   $ 700,000 35,500,000      
Restricted cash     $ 2,800,000