XML 44 R29.htm IDEA: XBRL DOCUMENT
v3.22.0.1

(Loss) Earnings per Share of Common Stock - Basic and Diluted Loss Per Share of Common Stock Narrative (Detail) - shares | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Weighted Average |  |  |
Summary Of Computation Of Basic And Diluted Earnings Per Share [Line Items] |  |  |
Number of OP Units held by Non-controlling OP Unitholders (in shares) | 316,987 | 502,586 | 700,924
Senior Common Stock |  |  |
Summary Of Computation Of Basic And Diluted Earnings Per Share [Line Items] |  |  |
Anti-dilutive convertible shares of senior common stock excluded from calculation of diluted earnings per share (in shares) | 503,962 | 628,263 | 674,611

X
- Definition Noncontrolling Interest, Ownership by Noncontrolling Owners, Number of Shares + References No definition available. + Details
Name: | good_NoncontrollingInterestOwnershipbyNoncontrollingOwnersNumberofShares
Namespace Prefix: | good_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Summary Of Computation Of Basic And Diluted Earnings Per Share [Line Items] + References No definition available. + Details
Name: | good_SummaryOfComputationOfBasicAndDilutedEarningsPerShareLineItems
Namespace Prefix: | good_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_WeightedAverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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