XML 36 R24.htm IDEA: XBRL DOCUMENT
v3.21.2

Description of Business - Additional Information (Detail) | Jun. 30, 2021 Property State
--- | ---
Organization Consolidation And Presentation Of Financial Statements [Abstract] |
Number of properties in portfolio | Property | 1,005
Number of states in which our properties are located | State | 35

X
- Definition The number of real estate properties in the portfolio, consisting of properties owned and properties leased from third party landlords. + References No definition available. + Details
Name: | gty_NumberOfPropertiesInPortfolio
Namespace Prefix: | gty_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of states in which the company's properties, comprised of those that are owned and those that are leased from third party landlords, are located. + References No definition available. + Details
Name: | gty_NumberOfStatesInWhichPropertiesAreLocated
Namespace Prefix: | gty_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration