XML 256 R40.htm IDEA: XBRL DOCUMENT
v3.20.4

Real Estate Dispositions, Held for Sale, and Impairment Charges - Additional Information (Detail) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 USD ($) property | Dec. 31, 2019 USD ($) property | Dec. 31, 2018 USD ($)
Schedule Of Real Estate Owned Held For Sale [Line Items] |  |  |
Number of real estate properties, held for sale | 3 | 1 |
Number of impaired assets, held and used | 3 |  |
Impairment charge | $ | $ 3,621 | $ 1,813 | $ 0
Charlotte, North Carolina |  |  |
Schedule Of Real Estate Owned Held For Sale [Line Items] |  |  |
Number of real estate properties, held for sale |  | 1 |
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 Impaired Assets, Held and Used + References No definition available. + Details
Name: | good_NumberofImpairedAssetsHeldandUsed
Namespace Prefix: | good_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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=121586364&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=109226348&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_CharlotteNorthCarolinaMember
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: |