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 | ||||||||||
| X | ||||||||||
- Definition Covenant threshold. No definition available.
|
| X | ||||||||||
- Definition Credit agreement amendment descriptions. No definition available.
|
| X | ||||||||||
- Definition Debt instrument additional principal amount. No definition available.
|
| X | ||||||||||
- Definition Deferred Finance Costs Recorded as Asset No definition available.
|
| X | ||||||||||
- Definition Line of credit facility maturity description. No definition available.
|
| X | ||||||||||
- Definition Description of purchase agreement. No definition available.
|
| X | ||||||||||
- Definition Amount of accumulated amortization of debt issuance costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of amortization expense attributable to debt discount (premium) and debt issuance costs. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Contractual interest rate for funds borrowed, under the debt agreement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, before accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The maximum amount of borrowing capacity under a line of credit that is available as of the balance sheet date for financing purchases of goods acquired for inventory or imminent delivery to a customer. No definition available.
|
| X | ||||||||||
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Description of the terms of a credit facility arrangement. Terms typically include interest rate, collateral required, guarantees required, repayment requirements, and restrictions on use of assets and activities of the entity. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of the required periodic payment applied to principal. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The carrying value as of the balance sheet date of the current portion of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The number of real estate properties owned as of the balance sheet date. No definition available.
|
| X | ||||||||||
- Definition The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The cash outflow from the acquisition of a piece of land, anything permanently fixed to it, including buildings, structures on it and so forth; includes real estate intended to generate income for the owner; excludes real estate acquired for use by the owner. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of cash outflow for the payment of debt classified as other, maturing after one year or the operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of Notes with the highest claim on the assets of the issuer in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion. Senior note holders are paid off in full before any payments are made to junior note holders. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|