XML 57 R42.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Real Estate Dispositions, Held for Sale, and Impairment Charges - Additional Information (Detail) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($) property | Dec. 31, 2020 USD ($) property | Dec. 31, 2019 USD ($)
Schedule Of Real Estate Owned Held For Sale [Line Items] |  |  |
Number of real estate properties, held for sale | 0 | 3 |
Number of non-core properties sold | 2 |  |
Impairment charge | $ | $ 0 | $ 3,621 | $ 1,813
Boston Heights Ohio, Ransho Cordova California, And Champaign Illinois |  |  |
Schedule Of Real Estate Owned Held For Sale [Line Items] |  |  |
Number of real estate properties, held for sale |  | 3 |
Rancho Cordova, California |  |  |
Schedule Of Real Estate Owned Held For Sale [Line Items] |  |  |
Impairment charge | $ |  | $ 700 |

X
- Definition Number of real estate properties held for sale. + References No definition available. + Details
Name: | good_NumberOfRealEstatePropertiesHeldForSale
Namespace Prefix: | good_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of Non-Core Properties Sold + References No definition available. + Details
Name: | good_NumberofNonCorePropertiesSold
Namespace Prefix: | good_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule of real estate owned held for sale line items. + References No definition available. + Details
Name: | good_ScheduleOfRealEstateOwnedHeldForSaleLineItems
Namespace Prefix: | good_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of write-down of assets recognized in the income statement. Includes, but is not limited to, losses from tangible assets, intangible assets and goodwill. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123351718&loc=d3e2420-110228 + Details
Name: | us-gaap_AssetImpairmentCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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