XML 53 R46.htm IDEA: XBRL DOCUMENT
v3.24.2

Derivative instruments (Additional Information) (Details) - USD ($) | 6 Months Ended |
--- | --- | ---
Jun. 30, 2024 | Oct. 31, 2023
Derivatives, Fair Value [Line Items] |  |
Derivative, Notional Amount |  | $ 75,000,000
Reclassified amount | $ 300,000 |
Interest rate swap |  |
Derivatives, Fair Value [Line Items] |  |
Derivative, Notional Amount | $ 75,000,000 | 75,000,000
Forward-starting interest rate swap agreements |  |
Derivatives, Fair Value [Line Items] |  |
Derivative, Notional Amount |  | $ 75,000,000

X
- Definition The estimated net amount of existing gains or losses on cash flow hedges at the reporting date expected to be reclassified to earnings within the next 12 months. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480870/815-30-50-1 + Details
Name: | us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-1B Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-1A + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

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 No definition available. + Details
Name: | us-gaap_DerivativesFairValueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=gty_ForwardStartingInterestRateSwapAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |