XML 64 R57.htm IDEA: XBRL DOCUMENT
v3.24.2

Assets Held For Sale - Summary of Real Estate Held for Sale (Detail) - USD ($) $ in Thousands | Jun. 30, 2024 | Dec. 31, 2023
--- | --- | ---
Summary Of Real Estate Held For Sale [Line Items] |  |
Real estate held for sale at cost | $ 5,631 | $ 5,755
Accumulated depreciation and amortization | (3,248) | (3,326)
Real estate held for sale, net | 2,383 | 2,429
Land [Member] |  |
Summary Of Real Estate Held For Sale [Line Items] |  |
Real estate held for sale at cost | 2,190 | 2,235
Buildings and Improvements [Member] |  |
Summary Of Real Estate Held For Sale [Line Items] |  |
Real estate held for sale at cost | $ 3,441 | $ 3,520

X
- Definition Real estate held for sale property, accumulated depreciation and amortization. + References No definition available. + Details
Name: | gty_RealEstateHeldForSalePropertyAccumulatedDepreciationAndAmortization
Namespace Prefix: | gty_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Real estate held for sale property, at cost. + References No definition available. + Details
Name: | gty_RealEstateHeldForSalePropertyAtCost
Namespace Prefix: | gty_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Summary of real estate held for sale. + References No definition available. + Details
Name: | gty_SummaryOfRealEstateHeldForSaleLineItems
Namespace Prefix: | gty_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of investment in land and building held for sale. Excludes real estate considered inventory. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(d)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_RealEstateHeldforsale
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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