XML 78 R68.htm IDEA: XBRL DOCUMENT v3.24.0.1
Debt - Additional Information (Details)
$ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Mar. 31, 2023
USD ($)
Apr. 01, 2019
USD ($)
May 31, 2012
Dec. 31, 2024
Sep. 30, 2024
Jun. 30, 2024
Mar. 31, 2024
Dec. 31, 2023
USD ($)
Dec. 31, 2023
USD ($)
Site
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Debt Instrument [Line Items]                      
Line of credit facility, maximum borrowing capacity               $ 164,500 $ 164,500    
Other indebtedness               763,981 763,981    
Deferred financing costs $ 1,100                    
JKM Credit Facility [Member]                      
Debt Instrument [Line Items]                      
Letters of credit outstanding, amount               4,500 4,500 $ 4,600  
Finance Lease Obligations [Member]                      
Debt Instrument [Line Items]                      
Other indebtedness               $ 7,981 $ 7,981    
Weighted average discount rate, percent               3.50% 3.50% 3.50%  
Interest on finance lease obligation                 $ 400 $ 500 $ 600
Finance Lease Obligations [Member] | Getty Realty Corporation [Member]                      
Debt Instrument [Line Items]                      
Lessee leasing arrangements, operating leases, term of contract     15 years                
Lease extended period of lease     20 years                
Number of gas stations leased | Site                 108    
Finance lease, weighted average remaining lease term               3 years 3 months 18 days 3 years 3 months 18 days    
Percentage increase annual fixed rent payments                 1.50%    
Minimum [Member] | Finance Lease Obligations [Member]                      
Debt Instrument [Line Items]                      
Percentage increase of fair value at lease inception exceeds total fair value real property                 25.00%    
CAPL Credit Facility [Member]                      
Debt Instrument [Line Items]                      
Line of credit facility, maximum borrowing capacity $ 925,000 $ 750,000                  
Debt instrument, maturity date Mar. 31, 2028 Apr. 01, 2024                  
Ability to increase line of credit facility, maximum borrowing capacity $ 350,000                    
Line of credit facility financial covenants combined leverage ratio               1.00%      
Line of credit facility financial covenants combined leverage ratio, threshold                 0.50%    
Line of credit facility financial covenants combined interest charge coverage ratio                 2.50%    
Other indebtedness               $ 45,000 $ 45,000    
Monetary judgments exceeding                 $ 45,000    
CAPL Credit Facility [Member] | SOFR [Member]                      
Debt Instrument [Line Items]                      
Consolidated leverage ratio                 1.00%    
CAPL Credit Facility [Member] | Federal Funds Rate [Member]                      
Debt Instrument [Line Items]                      
Consolidated leverage ratio                 0.50%    
CAPL Credit Facility [Member] | Notes Payable to Banks [Member]                      
Debt Instrument [Line Items]                      
Line of credit facility, interest rate at period end               4.90% 4.90%    
Debt instrument, basis spread on variable rate                 2.25%    
CAPL Credit Facility [Member] | Swing-Line Loans [Member]                      
Debt Instrument [Line Items]                      
Line of credit facility, increase (decrease), net                 $ 35,000    
CAPL Credit Facility [Member] | Letters of Credit [Member]                      
Debt Instrument [Line Items]                      
Line of credit facility, increase (decrease), net                 $ 65,000    
Commitment fee percentage                 0.125%    
CAPL Credit Facility [Member] | Maximum [Member]                      
Debt Instrument [Line Items]                      
Commitment fee percentage                 0.45%    
Line of credit facility financial covenants combined leverage ratio               5.25%      
Line of credit facility financial covenants combined leverage ratio, threshold                 5.25%    
CAPL Credit Facility [Member] | Maximum [Member] | Scenario Forecast [Member]                      
Debt Instrument [Line Items]                      
Line of credit facility financial covenants combined leverage ratio       4.75% 5.00% 5.00% 5.00%        
CAPL Credit Facility [Member] | Maximum [Member] | SOFR [Member]                      
Debt Instrument [Line Items]                      
Consolidated leverage ratio                 2.75%    
CAPL Credit Facility [Member] | Maximum [Member] | Prime Rate [Member]                      
Debt Instrument [Line Items]                      
Consolidated leverage ratio                 1.75%    
CAPL Credit Facility [Member] | Maximum [Member] | Upon Issuance of Qualified Senior Notes [Member]                      
Debt Instrument [Line Items]                      
Line of credit facility financial covenants combined leverage ratio                 5.25%    
Line of credit facility financial covenants combined leverage ratio, threshold                 5.50%    
CAPL Credit Facility [Member] | Maximum [Member] | Senior Notes [Member]                      
Debt Instrument [Line Items]                      
Line of credit facility financial covenants combined leverage ratio                 3.75%    
Line of credit facility financial covenants combined leverage ratio, threshold                 4.00%    
CAPL Credit Facility [Member] | Minimum [Member]                      
Debt Instrument [Line Items]                      
Commitment fee percentage                 0.25%    
Line of credit facility financial covenants combined leverage ratio, threshold                 1.00%    
CAPL Credit Facility [Member] | Minimum [Member] | Scenario Forecast [Member]                      
Debt Instrument [Line Items]                      
Line of credit facility financial covenants combined leverage ratio       1.00% 1.00% 1.00% 1.00%        
CAPL Credit Facility [Member] | Minimum [Member] | SOFR [Member]                      
Debt Instrument [Line Items]                      
Consolidated leverage ratio                 1.75%    
CAPL Credit Facility [Member] | Minimum [Member] | Prime Rate [Member]                      
Debt Instrument [Line Items]                      
Consolidated leverage ratio                 0.75%    
CAPL Credit Facility [Member] | Minimum [Member] | Upon Issuance of Qualified Senior Notes [Member]                      
Debt Instrument [Line Items]                      
Line of credit facility financial covenants combined leverage ratio                 1.00%    
Line of credit facility financial covenants combined leverage ratio, threshold                 1.00%    
CAPL Credit Facility [Member] | Minimum [Member] | Senior Notes [Member]                      
Debt Instrument [Line Items]                      
Line of credit facility financial covenants combined leverage ratio                 1.00%    
Line of credit facility financial covenants combined leverage ratio, threshold                 1.00%