Annual report [Section 13 and 15(d), not S-K Item 405]

Debt - Additional Information (Details)

v3.25.4
Debt - Additional Information (Details)
$ in Thousands
3 Months Ended 12 Months Ended
Feb. 13, 2026
USD ($)
Feb. 12, 2026
USD ($)
Jun. 30, 2025
USD ($)
Sites
Dec. 31, 2025
USD ($)
Dec. 31, 2024
USD ($)
Dec. 31, 2023
USD ($)
May 13, 2025
USD ($)
Sites
Mar. 26, 2024
USD ($)
Sep. 28, 2023
USD ($)
Oct. 21, 2021
USD ($)
Dec. 21, 2016
USD ($)
Debt Instrument [Line Items]                      
Description of payment terms       extend the maturity date for both facilities from December 22, 2027 to the earliest of: (i) February 13, 2031, (ii) the date that is six months prior to the maturity date of the Senior Notes or any permitted refinancing thereof, subject to certain conditions, and (iii) the date that is six months prior to the maturity date of the Capital One Line of Credit. Concurrently, APC and certain of APC’s subsidiaries entered into a separate amended and restated credit agreement with PNC providing for a secured revolving credit facility with substantially similar terms as those under the PNC Line of Credit; provided that the aggregate principal amount available thereunder is up to $84 million.              
Line of Credit Facility, Current Borrowing Capacity       $ 377,406 $ 375,951            
Line of credit amendment description       On January 13, 2026, GPMP entered into an amendment to the Capital One Line of Credit, and on February 13, 2026, the proceeds from the APC IPO were used to repay approximately $184.0 million of the indebtedness under the Capital One Line of Credit. Additionally, GPMP entered into certain pledge and security agreements whereby the Capital One Line of Credit is secured by GPM Empire LLC’s interest in, and proceeds from, APC’s agreements with the Company and APC’s fuel supply agreements with certain of its fuel supply partners and a pledge of APC’s equity interests in GPMP.              
Repayment of outstanding principal amount       $ 24,102 26,357 $ 22,157          
Amortization Of Financing Costs And Discounts       2,856 2,669 2,518          
Financing Costs [Member]                      
Debt Instrument [Line Items]                      
Payments of Debt Issuance Costs       1,400 50            
Debt Issuance Costs, Gross       17,800 16,400            
Accumulated Amortization, Debt Issuance Costs       8,800 5,900            
Deferred Finance Costs Recorded as Asset       300 300            
Amortization Of Financing Costs And Discounts       $ 2,900 $ 2,700 $ 2,500          
Senior Notes [Member]                      
Debt Instrument [Line Items]                      
Debt instrument, interest rate, stated percentage       5.125%           5.125%  
Debt instrument face amount       $ 450,000              
Purchase Agreement Description       On October 21, 2021, the Company issued $450 million aggregate principal amount of 5.125% Senior Notes due 2029 (the “Senior Notes”), which are guaranteed, jointly and severally on an unsecured basis, by certain of the Company’s domestic subsidiaries (the “Guarantors”).              
Senior Notes, Noncurrent                   $ 450,000  
GPM [Member] | Real Estate Loan [Member]                      
Debt Instrument [Line Items]                      
Consideration     $ 22,400                
Revolving Credit Facility [Member] | GPM [Member]                      
Debt Instrument [Line Items]                      
Line of Credit Facility, Current Borrowing Capacity       $ 800,000              
Line of Credit Facility, Maximum Borrowing Capacity       $ 1,000,000              
Line of credit               $ 36,500      
Subsequent Event [Member] | Line of Credit [Member]                      
Debt Instrument [Line Items]                      
Repayment of outstanding principal amount $ 184,000                    
PNC Credit Line Agreement [Member] | Minimum [Member]                      
Debt Instrument [Line Items]                      
Covenant threshold       10.00%              
PNC Credit Line Agreement [Member] | Subsequent Event [Member] | Maximum [Member] | GPM [Member]                      
Debt Instrument [Line Items]                      
Debt instrument face amount   $ 56,000                  
PNC Credit Line Agreement [Member] | Subsequent Event [Member] | Maximum [Member] | APC [Member]                      
Debt Instrument [Line Items]                      
Aggregate principal amount   84,000                  
PNC Credit Line Agreement [Member] | Subsequent Event [Member] | Minimum [Member] | GPM [Member]                      
Debt Instrument [Line Items]                      
Debt instrument face amount   $ 140,000                  
Agreement with M T Bank [Member]                      
Debt Instrument [Line Items]                      
Credit agreement amendment description       On May 13, 2025, GPM entered into an amendment to the M&T Credit Agreement to increase the aggregate original principal amount of the M&T Term Loans thereunder by $34.2 million, from $49.5 million to $83.7 million.              
Agreement with M T Bank [Member] | GPM [Member]                      
Debt Instrument [Line Items]                      
Line of Credit Facility, Capacity Available for Trade Purchases       $ 32,900              
Number of real estate | Sites     22                
Agreement with M T Bank [Member] | GPM [Member] | M &T Term Loans [Member]                      
Debt Instrument [Line Items]                      
Debt instrument face amount             $ 83,700       $ 49,500
Additional principal amount             $ 34,200        
Number of real estate | Sites     21       78        
Agreement with M T Bank [Member] | Maximum [Member] | GPM [Member]                      
Debt Instrument [Line Items]                      
Line of Credit Facility, Capacity Available for Trade Purchases                 $ 45,000