XML 46 R34.htm IDEA: XBRL DOCUMENT
v3.21.2

Leases - Getty Petroleum Marketing Inc. - Additional Information (Detail) | 6 Months Ended
--- | ---
Jun. 30, 2021 USD ($) Property Portfolio
Leases [Line Items] |
Number of leased properties subject to long-term triple-net leases | Property | 315
Number of long-term triple-net leases during the period | Portfolio | 14
Number of leased properties as single unit triple net leases | Portfolio | 26
Maximum lease commitment for capital expenditure | $ 6,712,000
Unitary triple-net lease agreements initial terms | 15 years
USTs [Member] |
Leases [Line Items] |
Asset retirement obligations removed from balance sheet | $ 13,813,000
Net asset retirement costs related to USTs removed from balance sheet | 10,808,000
Deferred rental revenue | 1,211,000
Deferred rental revenue accumulated amortization | $ 1,794,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 | 348

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 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 Amount of accumulated amortization of deferred lease income. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.26) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredRevenueLeasesAccumulatedAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before accumulated amortization, of deferred lease income. Includes, but is not limited to, amount paid in advance by lessee. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(4) -URI http://asc.fasb.org/extlink&oid=121568338&loc=d3e45377-112738 + Details
Name: | us-gaap_DeferredRevenueLeasesGross
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: |