Quarterly report pursuant to Section 13 or 15(d)

Acquisitions - Additional Information (Details)

v3.22.2.2
Acquisitions - Additional Information (Details)
$ in Thousands
3 Months Ended 9 Months Ended
Oct. 19, 2022
USD ($)
StoresAndGasStation
Jul. 22, 2022
USD ($)
Sites
Dealer
Sep. 30, 2022
USD ($)
Sites
StoresAndGasStation
Dealer
Store
Sep. 30, 2021
USD ($)
Sep. 30, 2022
USD ($)
Sites
StoresAndGasStation
Dealer
Store
Sep. 30, 2021
USD ($)
Dec. 31, 2021
USD ($)
Business Acquisition [Line Items]              
Number of sites leased | Sites   121          
Goodwill     $ 197,711   $ 197,711   $ 197,648
Quarles Petroleum Inc [Member]              
Business Acquisition [Line Items]              
Date of acquisition agreement   Jul. 22, 2022          
Consideration provided by Oak Street   $ 129,316          
Goodwill   0          
Right-of-use assets under operating leases   32,384          
Acquisition related cost recognized as other (income) expenses     $ 900   1,600    
Consideration paid in cash   $ 185,033   $ 0   $ 0  
Revenue through closing date of acquisition till period end date         142,400    
Net income through acquisition date till period end date         $ 6,200    
Number of dealer locations | Dealer   46          
Business combination purchase price   $ 170,000          
Quarles Petroleum Inc [Member] | Wholesale Fuel Supply Contracts              
Business Acquisition [Line Items]              
Useful life of the contracts         5 years 3 months    
Quarles Petroleum Inc [Member] | Customer Relationships | Fueling sites              
Business Acquisition [Line Items]              
Useful life of the contracts         20 years    
Oak Street [Member]              
Business Acquisition [Line Items]              
Number of sites leased | Sites     106   106    
Consideration provided by Oak Street   $ 129,300          
Number of sites leased | Sites   39          
Right-of-use assets under operating leases   $ 81,800          
Business combination purchase price         $ 60,000    
Transit Energy Group [Member]              
Business Acquisition [Line Items]              
Number of convenience stores | Store     150   150    
Number of dealer locations to be acquired | Dealer     200   200    
Business combination purchase price         $ 375,000    
Deferred consideration     $ 50,000   50,000    
Deferred consideration annual installment amount     $ 25,000   $ 25,000    
Express Stop [Member]              
Business Acquisition [Line Items]              
Number of sites leased | StoresAndGasStation     60   60    
Handy Mart Acquisition [Member]              
Business Acquisition [Line Items]              
Number of sites leased | StoresAndGasStation     36   36    
Pride Convenience Holdings, LLC [Member]              
Business Acquisition [Line Items]              
Number of convenience stores | StoresAndGasStation 31            
Business combination purchase price $ 230,000       $ 28,000    
Capital One Line of credit [Member] | Quarles Petroleum Inc [Member]              
Business Acquisition [Line Items]              
Business combination purchase price   $ 40,000          
Third Party [Member] | Quarles Petroleum Inc [Member]              
Business Acquisition [Line Items]              
Number of sites leased | Sites   63          
Useful life of the contracts         2 years