XML 49 R42.htm IDEA: XBRL DOCUMENT
v3.24.3

Leases - Getty Petroleum Marketing Inc. - Additional Information (Detail) | 9 Months Ended
--- | ---
Sep. 30, 2024 USD ($) Portfolio Property
Leases [Line Items] |
Number of leased properties subject to long-term triple-net leases | Property | 276
Number of long-term triple-net leases during the period | Portfolio | 12
Number of leased properties as single unit triple net leases | Portfolio | 23
Number of properties vacant | Property | 1
Maximum lease commitment for capital expenditure | $ 4,500,000
Unitary triple-net lease agreements initial terms | 15 years
Weighted average remaining lease term, excluding renewal options, for the properties previously leased to marketing | 7 years 1 month 6 days
USTs [Member] |
Leases [Line Items] |
Asset retirement obligations removed from balance sheet | $ 13,800,000
Net asset retirement costs related to USTs removed from balance sheet | 10,800,000
Deferred rental revenue | 500,000
Deferred rental revenue accumulated amortization | $ 2,500,000
Maximum [Member] |
Leases [Line Items] |
Unitary triple-net lease agreements successive terms | 20 years
Getty Petroleum Marketing Inc [Member] |
Leases [Line Items] |
Number of properties previously leased | Property | 300

X
- Definition The dollar amount of the asset retirement obligations related to underground storage tanks that were removed from the balance sheet. + References No definition available. + Details
Name: | gty_AssetRetirementObligationsRemovedFromBalanceSheet
Namespace Prefix: | gty_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Leases. + References No definition available. + Details
Name: | gty_LeasesLineItems
Namespace Prefix: | gty_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum dollar amount the company has committed to co-invest with tenants for capital expenditures. + References No definition available. + Details
Name: | gty_MaximumLeaseCommitmentForCapitalExpenditure
Namespace Prefix: | gty_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of net asset retirement costs related to underground storage tanks removed from the balance sheet in conjunction with a transfer of related obligations to the lessee. + References No definition available. + Details
Name: | gty_NetAssetRetirementCostsRemoved
Namespace Prefix: | gty_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of leased properties as single unit triple-net leases. + References No definition available. + Details
Name: | gty_NumberOfLeasedPropertiesAsSingleUnitTripleNetLeases
Namespace Prefix: | gty_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of leased properties subject to long-term triple-net leases. + References No definition available. + Details
Name: | gty_NumberOfLeasedPropertiesSubjectToLongTermTripleNetLeases
Namespace Prefix: | gty_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of long-term triple-net leases in portfolios. + References No definition available. + Details
Name: | gty_NumberOfLongTermTripleNetLeasesInPortfolios
Namespace Prefix: | gty_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of properties previously leased to the tenant. + References No definition available. + Details
Name: | gty_NumberOfPropertiesPreviouslyLeased
Namespace Prefix: | gty_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of properties vacant. + References No definition available. + Details
Name: | gty_NumberOfPropertiesVacant
Namespace Prefix: | gty_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of years in the initial term under unitary triple-net lease agreements. + References No definition available. + Details
Name: | gty_PeriodOfInitialTermUnderUnitaryTripleNetLeaseAgreements
Namespace Prefix: | gty_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of years in the successive renewal term under unitary triple-net lease agreements. + References No definition available. + Details
Name: | gty_PeriodOfSuccessiveRenewalTermsUnderUnitaryTripleNetLeaseAgreements
Namespace Prefix: | gty_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average remaining lease term, excluding renewal options, for the properties previously leased to marketing. + References No definition available. + Details
Name: | gty_WeightedAverageRemainingLeaseTermExcludingRenewalOptionsForThePropertiesPreviouslyLeasedToMarketing
Namespace Prefix: | gty_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition For an unclassified balance sheet, the accumulated amortization, as of the reporting date, which represents the periodic charge to earnings of initial direct costs which have been deferred and are being allocated over the lease term in proportion to the recognition of rental income. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 20 -Name Accounting Standards Codification -Section 25 -Paragraph 16 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481178/840-20-25-16 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 20 -Name Accounting Standards Codification -Section 35 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481123/840-20-35-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 25 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479341/842-30-25-10 + Details
Name: | us-gaap_DeferredCostsLeasingAccumulatedAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of excess of rental payment required by lease over rental income recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 20 -Name Accounting Standards Codification -Section 25 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481178/840-20-25-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 25 -Paragraph 11 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479341/842-30-25-11 + Details
Name: | us-gaap_DeferredRentCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=gty_UndergroundStorageTanksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=gty_GettyPetroleumMarketingIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |