Quarterly report pursuant to Section 13 or 15(d)

Acquisitions - Additional Information (Details)

v3.24.2.u1
Acquisitions - Additional Information (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Apr. 09, 2024
USD ($)
Store
Mar. 26, 2024
USD ($)
$ / shares
Mar. 01, 2024
$ / shares
shares
Jun. 06, 2023
Sites
Store
Mar. 01, 2023
USD ($)
Jun. 30, 2024
USD ($)
Store
Dealer
Mar. 31, 2024
USD ($)
Jun. 30, 2023
USD ($)
Jun. 30, 2024
USD ($)
Store
Dealer
Jun. 30, 2023
USD ($)
Dec. 31, 2023
USD ($)
Business Acquisition [Line Items]                      
Goodwill           $ 299,972     $ 299,972   $ 292,173
Depreciation and amortization expenses           33,577   $ 32,837 65,293 $ 61,236  
Interest and other financial income           $ 3,384   $ 2,428 $ 25,297 $ 9,630  
Transit Energy Group [Member]                      
Business Acquisition [Line Items]                      
Date of acquisition agreement         Mar. 01, 2023            
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            
Shares issued for acquisition | shares     3,417,915                
Price per share of deferred consideration annual installment | $ / shares     $ 7.31                
Gain loss from issuance of shares related to business acquisition                 $ 2,700    
TEG Purchase Agreement [Member]                      
Business Acquisition [Line Items]                      
Stock repurchased during period from TEG   $ 19,300                  
Common stock value per share repurchased during period from TEG | $ / shares   $ 5.66                  
Gain loss from early settlement of deferred consideration                 6,400    
Interest and other financial income                 6,500    
WTG Fuels Holdings [Member]                      
Business Acquisition [Line Items]                      
Date of acquisition agreement       Jun. 06, 2023              
Number of convenience stores | Store       24              
Business Combination Number Of FleetFueling Cardlocksites acquired | Sites       68              
Business combination number of private cardlocksites acquired | Sites       43              
Property and equipment           $ 1,200     1,200    
Intangible assets           9,100     9,100    
Deferred tax asset           2,600     2,600    
Goodwill, period increase (decrease)           7,800          
Depreciation and amortization expenses             $ 200       $ 500
SpeedyQ Acquisition [Member]                      
Business Acquisition [Line Items]                      
Date of acquisition agreement Nov. 21, 2023                    
Property and equipment $ 52,794                    
Intangible assets 1,050                    
Goodwill $ 0         0     0    
Acquisition related cost recognized as other (income) expenses           $ 900     1,200    
Number of operating sites | Store 21                    
Number of landbank sites acquired | Store 8                    
Revenue through closing date of acquisition till period end date                 20,300    
Net loss through acquisition date till period end date                 $ 200    
Consideration amount $ 52,500                    
Business combination purchase price $ 45,017                    
Number of sites leased | Store 19                    
Site put/call purchase price $ 7,000                    
Capital One Line of credit [Member] | TEG Purchase Agreement [Member]                      
Business Acquisition [Line Items]                      
Amount financed with capital one line of credit   $ 36,500                  
Capital One Line of credit [Member] | SpeedyQ Acquisition [Member]                      
Business Acquisition [Line Items]                      
Amount financed with capital one line of credit $ 6,000                    
Second Installment [Member] | TEG Purchase Agreement [Member]                      
Business Acquisition [Line Items]                      
Business combination deferred consideration annual installment 2 amount   $ 17,200