XML 37 R30.htm IDEA: XBRL DOCUMENT
v3.24.3

Description of Business - Additional Information (Detail) | Sep. 30, 2024 State Property
--- | ---
Organization, Consolidation and Presentation of Financial Statements [Abstract] |
Number of properties in portfolio | Property | 1,108
Number of states in which our properties are located | State | 42

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