XML 78 R58.htm IDEA: XBRL DOCUMENT
v3.23.2

Subsequent Events - Additional Information (Details) $ in Thousands |  |  |  |  | 1 Months Ended | 3 Months Ended | 6 Months Ended
--- | --- | --- | --- | --- | --- | --- | ---
Aug. 04, 2023 USD ($) property | Jul. 28, 2023 USD ($) ft² property tenant | Jul. 27, 2023 USD ($) ft² | Jul. 10, 2023 USD ($) ft² tenant | Aug. 08, 2023 USD ($) shares | Jun. 30, 2023 USD ($) | Jun. 30, 2022 USD ($) | Jun. 30, 2023 USD ($) shares | Jun. 30, 2022 USD ($)
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |
Gain on sale of real estate, net |  |  |  |  |  | $ (451) | $ 0 | $ (451) | $ 0
Fixed rate mortgage loans |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |
Stated interest rate |  |  |  |  |  | 4.16% |  | 4.16% |
Subsequent Event | Mortgages | Fixed rate mortgage loans |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |
Net book value of collateralized mortgage properties | $ 28,900 | $ 6,800 |  |  |  |  |  |  |
Number of properties | property | 1 | 1 |  |  |  |  |  |  |
Stated interest rate | 4.81% | 5.00% |  |  |  |  |  |  |
Subsequent Event | Pittsburgh, Pennsylvania |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |
Purchased industrial property in square foot | ft² |  |  | 26,080 |  |  |  |  |  |
Proceeds from sale of property held-for-sale |  |  | $ 6,800 |  |  |  |  |  |
Gain on sale of real estate, net |  |  | $ 3,600 |  |  |  |  |  |
Subsequent Event | Medical Office Property | Dallas Fort Worth, Texas |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |
Purchased industrial property in square foot | ft² |  |  |  | 7,714 |  |  |  |  |
Payments to acquire real estate |  |  |  | $ 2,900 |  |  |  |  |
Number of tenants | tenant |  |  |  | 1 |  |  |  |  |
Lease term (in years) |  |  |  | 10 years |  |  |  |  |
Subsequent Event | Medical Office Property | Cedar Hill, Texas |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |
Purchased industrial property in square foot | ft² |  | 100,000 |  |  |  |  |  |  |
Payments to acquire real estate |  | $ 9,100 |  |  |  |  |  |  |
Number of tenants | tenant |  | 1 |  |  |  |  |  |  |
Lease term (in years) |  | 20 years |  |  |  |  |  |  |
Series F Preferred Stock | Series A and B Preferred Stock |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |
Consideration received |  |  |  |  |  |  |  | $ 4,300 |
Redeemable preferred stock, shares issued (in shares) | shares |  |  |  |  |  |  |  | 188,919 |
Series F Preferred Stock | Series A and B Preferred Stock | Subsequent Event |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |
Consideration received |  |  |  |  | $ 800 |  |  |  |
Redeemable preferred stock, shares issued (in shares) | shares |  |  |  |  | 33,198 |  |  |  |

X
- Definition Lessor, Operating Lease, Number of Tenants + References No definition available. + Details
Name: | good_LessorOperatingLeaseNumberofTenants
Namespace Prefix: | good_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Area of a real estate property. + References No definition available. + Details
Name: | us-gaap_AreaOfRealEstateProperty
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:areaItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The difference between the carrying value and the sale price of real estate or properties that were intended to be sold or held for capital appreciation or rental income. This element refers to the gain (loss) included in earnings and not to the cash proceeds of the sale. This element is a noncash adjustment to net income when calculating net cash generated by operating activities using the indirect method. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482130/360-10-45-5 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482099/360-10-50-3 + Details
Name: | us-gaap_GainLossOnSaleOfProperties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Term of lessor's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479773/842-30-50-3 + Details
Name: | us-gaap_LessorOperatingLeaseTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of real estate properties owned as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfRealEstateProperties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash outflow from the acquisition of a piece of land, anything permanently fixed to it, including buildings, structures on it and so forth; includes real estate intended to generate income for the owner; excludes real estate acquired for use by the 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_PaymentsToAcquireRealEstate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from the sale of formerly productive land held for sale, anything permanently fixed to it, including buildings, structures on it, and so forth. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 12 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-12 + Details
Name: | us-gaap_ProceedsFromSaleOfPropertyHeldForSale
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash outflow for short-term and long-term debt. Excludes payment of lease obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Cash received on stock transaction after deduction of issuance costs. + References No definition available. + Details
Name: | us-gaap_SaleOfStockConsiderationReceivedOnTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares issued or sold by the subsidiary or equity method investee per stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481674/830-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 855 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483399/855-10-50-2 + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=good_FixedRateMortgageLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_MortgagesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=good_PittsburghPennsylvaniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis=srt_OfficeBuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=good_DallasFortWorthTexasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=good_CedarHillTexasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesFPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_PreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |