Quarterly report pursuant to Section 13 or 15(d)

Acquisitions - Additional Information (Details)

v3.23.2
Acquisitions - Additional Information (Details)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 06, 2023
USD ($)
Sites
Store
Mar. 01, 2023
USD ($)
Sites
Dec. 06, 2022
USD ($)
StoresAndGasStation
Jun. 30, 2023
USD ($)
Store
Dealer
Mar. 31, 2023
USD ($)
Jun. 30, 2022
USD ($)
Jun. 30, 2023
USD ($)
Store
Dealer
Jun. 30, 2022
USD ($)
Dec. 31, 2022
USD ($)
Jul. 22, 2022
Dealer
Cardlock
Business Acquisition [Line Items]                    
Number of sites leased | Sites   104                
Goodwill       $ 277,795     $ 277,795   $ 217,297  
Number of convenience stores | Store 24                  
Number of cardlock sites acquired | Cardlock                   184
Number Of Dealer Locations Acquired | Dealer                   46
Deferred tax asset   $ 19,135                
Oak Street [Member]                    
Business Acquisition [Line Items]                    
Number of sites leased | Sites 33                  
Right-of-use assets under operating leases $ 49,000 131,300                
Financial Liability $ 28,800 $ 51,600                
Transit Energy Group [Member]                    
Business Acquisition [Line Items]                    
Date of acquisition agreement   Mar. 01, 2023                
Goodwill   $ 57,412   57,400     57,400      
Right-of-use assets under operating leases   69,254                
Acquisition related cost recognized as other (income) expenses       700     2,900      
Consideration paid in cash   385,504       $ 0   $ 0    
Revenue through closing date of acquisition till period end date       240,200     317,100      
Net loss through acquisition date till period end date       $ 2,700     $ 2,700      
Number of convenience stores | Store       135     135      
Number of dealer locations to be acquired | Dealer       181     181      
Business combination purchase price   370,000                
Deferred consideration   50,000                
Deferred consideration annual installment amount   25,000                
Business Combination Non Deferred Consideration   81,700                
Business combination liabilities incurred   55,000                
Property and equipment   268,879                
Other liabilities   2,087                
Transit Energy Group [Member] | Wholesale Fuel Supply Contracts                    
Business Acquisition [Line Items]                    
Useful life of the contracts             5 years      
Transit Energy Group [Member] | Brand Name [Member]                    
Business Acquisition [Line Items]                    
Useful life of the contracts             5 years      
WTG Fuels Holdings [Member]                    
Business Acquisition [Line Items]                    
Date of acquisition agreement Jun. 06, 2023                  
Business combination number of private cardlocksites acquired | Sites 43                  
Goodwill $ 0                  
Right-of-use assets under operating leases 1,812                  
Acquisition related cost recognized as other (income) expenses       $ 1,800     $ 2,100      
Consideration paid in cash 145,712         $ 0   $ 0    
Revenue through closing date of acquisition till period end date             14,900      
Net loss through acquisition date till period end date             $ 200      
Business combination purchase price, plus value of inventory 140,000                  
Business combination liabilities incurred 19,200                  
Business combination consideration transferred $ 29,900                  
Business Combination Number Of fleet fueling CardlockSitesAcquired | Sites 68                  
Property and equipment $ 128,396                  
Other liabilities 598                  
WTG Fuels Holdings [Member] | Customer Relationships | Fueling sites                    
Business Acquisition [Line Items]                    
Useful life of the contracts             5 years      
Pride Convenience Holdings, LLC [Member]                    
Business Acquisition [Line Items]                    
Number of convenience stores | StoresAndGasStation     31              
Property and equipment     $ 4,700              
Accounts Payable     1,000              
Other liabilities     1,000              
Deferred tax asset     1,000              
Goodwill, period increase (decrease)     3,100              
Depreciation and amortization expenses         $ 600       $ 200  
Capital One Line of credit [Member] | Transit Energy Group [Member]                    
Business Acquisition [Line Items]                    
Business combination liabilities incurred   $ 55,000                
Capital One Line of credit [Member] | WTG Fuels Holdings [Member]                    
Business Acquisition [Line Items]                    
Business combination liabilities incurred $ 19,200                  
GPM Petroleum L P [Member] | Transit Energy Group [Member]                    
Business Acquisition [Line Items]                    
Goodwill       $ 55,000     $ 55,000      
GPM Petroleum L P [Member] | Pride Convenience Holdings, LLC [Member]                    
Business Acquisition [Line Items]                    
Goodwill, period increase (decrease)     $ 400