XML 67 R60.htm IDEA: XBRL DOCUMENT
v3.24.2

Property Acquisitions - Summary of Purchase Price Allocation (Parenthetical) (Detail) - USD ($) $ in Thousands | 6 Months Ended
--- | ---
Jun. 30, 2024 | Jun. 30, 2023
Business Acquisition [Line Items] |  |
Aggregate purchase price of properties acquired during the period | $ 150,937 | $ 73,260
Land Parcel [Member] |  |
Business Acquisition [Line Items] |  |
Aggregate purchase price of properties acquired during the period |  | $ 900

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow from the acquisition of property as primarily intended to generate income for its owner. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireCommercialRealEstate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=gty_LandParcelMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |