XML 75 R59.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Equity and Mezzanine Equity - Additional Information (Details) $ / shares in Units, $ in Thousands |  |  |  |  |  | 1 Months Ended | 12 Months Ended |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Sep. 20, 2022 USD ($) ft² shares | Aug. 05, 2021 shares | Jun. 30, 2021 USD ($) $ / shares shares | Jun. 28, 2021 USD ($) $ / shares shares | Jun. 23, 2021 shares | Feb. 29, 2020 | Dec. 31, 2023 USD ($) shares | Dec. 31, 2022 USD ($) shares | Dec. 31, 2021 USD ($) shares | Mar. 03, 2023 USD ($) | Dec. 31, 2020 shares | Feb. 20, 2020 shares | Feb. 19, 2020 shares | Jan. 29, 2020 USD ($) | Dec. 03, 2019 USD ($) | Jan. 11, 2019 USD ($)
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net proceeds from sale of shares | $ |  |  |  | $ 96,600 |  |  |  |  |  |  |  |  |  |  |  |
Repurchase of common stock, net | $ |  |  |  |  |  |  | $ 998 |  |  |  |  |  |  |  |  |
Temporary equity, contract terms, trigger change in control |  |  |  |  |  |  | 50.00% |  |  |  |  |  |  |  |  |
Sale of stock, price per share (in dollars per share) | $ / shares |  |  |  | $ 25.00 |  |  |  |  |  |  |  |  |  |  |  |
Gross proceeds from sale of stock | $ |  |  |  | $ 100,000 |  |  |  |  |  |  |  |  |  |  |  |
Common stock, shares authorized (in shares) |  |  |  |  |  |  | 62,326,818 | 62,305,727 |  |  |  |  |  |  |  |
Common stock, shares outstanding (in shares) |  |  |  |  |  |  | 40,000,596 | 39,744,359 |  |  |  | 60,290,000 | 86,290,000 |  |  |
Aggregate Purchase Price | $ |  |  |  |  |  |  | $ 30,018 | $ 115,364 |  |  |  |  |  |  |  |
Ownership by noncontrolling owners, shares outstanding (in shares) |  |  |  |  |  |  | 310,643 | 391,468 |  |  |  |  |  |  |  |
Fort Payne, Alabama |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate Square Footage | ft² | 49,375 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate Purchase Price | $ | $ 5,600 |  |  |  |  |  | $ 5,600 |  |  |  |  |  |  |  |  |
Operating Partnership |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Company ownership percentage of voting securities |  |  |  |  |  |  | 99.20% | 99.00% |  |  |  |  |  |  |  |
Units issued | 134,474 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of units redeemed in acquisition (in shares) |  |  |  |  |  |  | 80,825 |  |  |  |  |  |  |  |  |
Series D Cumulative Redeemable Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum vote need to trigger change in control from tender offer |  |  |  |  |  |  | 90.00% |  |  |  |  |  |  |  |  |
Stock redeemed (in shares) |  |  | 3,509,555 |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock, redemption price per share (in usd per share) | $ / shares |  |  | $ 25.1458333 |  |  |  |  |  |  |  |  |  |  |  |  |
Stock redeemed | $ |  |  | $ 88,300 |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock adjustments | $ |  |  | $ 2,100 |  |  |  |  |  |  |  |  |  |  |  |  |
Series D Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock redeemed | $ |  |  |  |  |  |  |  |  | $ 2,141 |  |  |  |  |  |  |
Series F Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock redeemed | $ |  |  |  |  |  |  | $ (466) | $ (164) |  |  |  |  |  |  |  |
Redeemable preferred stock, shares authorized (in shares) |  |  |  |  |  |  | 25,972,296 | 25,992,787 |  |  |  |  |  |  |  |
Series G Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repurchase of common stock, net | $ |  |  |  |  |  |  | $ 3 | $ 37 |  |  |  |  |  |  |  |
Redeemable preferred stock, shares authorized (in shares) |  |  |  |  | 4,000,000 |  |  |  |  |  |  |  |  |  |  |
Common Stock and Non-controlling OP Units |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock redeemed (in shares) |  |  |  |  |  |  | 80,825 |  | 246,039 |  |  |  |  |  |  |
Common stock, shares authorized (in shares) |  | 62,290,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common stock, shares outstanding (in shares) |  |  |  |  |  |  | 40,000,596 | 39,744,359 | 37,473,587 |  | 35,331,970 |  |  |  |  |
Preferred Stock | Series D Cumulative Redeemable Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock, dividend rate |  | 7.00% |  |  |  |  | 7.00% |  |  |  |  |  |  |  |  |
Preferred Stock | Series E Cumulative Redeemable Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock, dividend rate |  |  |  |  |  |  | 6.625% |  |  |  |  |  |  |  |  |
Preferred Stock | Series G Cumulative Redeemable Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock, dividend rate |  |  |  |  |  |  | 6.00% |  |  |  |  |  |  |  |  |
Preferred Stock | Series D Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Redeemable preferred stock, shares authorized (in shares) |  | 2,490,445 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred Stock | Series E Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Redeemable preferred stock, shares authorized (in shares) |  | 6,760,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred Stock | Series F Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares sold (in shares) |  |  |  |  |  |  | 200,000 |  |  |  |  |  |  |  |  |
Net proceeds from sale of shares | $ |  |  |  |  |  |  | $ 5,600 |  |  |  |  |  |  |  |  |
Preferred stock, dividend rate |  |  |  |  | 6.00% | 6.00% |  |  |  |  |  |  |  |  |  |
Redeemable preferred stock, shares authorized (in shares) |  | 26,000,000 |  |  |  |  |  |  |  |  |  | 26,000,000 |  |  |  |
Preferred Stock | Series G Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Redeemable preferred stock, shares authorized (in shares) |  | 4,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Common Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common stock, shares authorized (in shares) |  | 950,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common Stock ATM Program | Common Stock and Non-controlling OP Units |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repurchase of common stock, net | $ |  |  |  |  |  |  | $ 1,000 |  |  |  |  |  |  |  |  |
Public Stock Offering |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares sold (in shares) |  |  |  | 4,000,000 |  |  |  |  |  |  |  |  |  |  |  |
2019 Registration Statement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Universal registration statement, amount authorized | $ |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 500,000
2020 Registration Statement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Universal registration statement, amount authorized | $ |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 800,000 |  |
2020 Registration Statement | Preferred Stock | Series F Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Universal registration statement, amount authorized | $ |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 636,500 |  |
Baird, Goldman Sachs, Stifel, and Fifth Third | Common Stock ATM Program | Common Stock and Non-controlling OP Units |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum aggregate sales price of shares to be issued under open market sale agreement | $ |  |  |  |  |  |  |  |  |  | $ 250,000 |  |  |  |  | $ 250,000 |
Number of shares sold (in shares) |  |  |  |  |  |  | 200,000 |  |  |  |  |  |  |  |  |
Net proceeds from sale of shares | $ |  |  |  |  |  |  | $ 4,000 |  |  |  |  |  |  |  |  |
Baird, Goldman Sachs, Stifel, Fifth Third, and U.S. Bancorp Investments, Inc. | Common Stock ATM Program | Common Stock and Non-controlling OP Units |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares sold (in shares) |  |  |  |  |  |  | 1,776 |  |  |  |  |  |  |  |  |
Net proceeds from sale of shares | $ |  |  |  |  |  |  | $ 20 |  |  |  |  |  |  |  |  |
Baird, Goldman Sachs, Stifel, Fifth Third, and U.S. Bancorp Investments, Inc. | Series E Preferred Stock ATM Program |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum aggregate sales price of shares to be issued under open market sale agreement | $ |  |  |  |  |  |  | $ 100,000 |  |  |  |  |  |  |  |  |

X
- Definition Asset Acquisition, Equity Interest Redeemed or Redeemable, Number of Shares + References No definition available. + Details
Name: | good_AssetAcquisitionEquityInterestRedeemedorRedeemableNumberofShares
Namespace Prefix: | good_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum aggregate sales price of shares to be issued under open market sale agreement. + References No definition available. + Details
Name: | good_MaximumAggregateSalesPriceOfSharesToBeIssuedUnderOpenMarketSaleAgreement
Namespace Prefix: | good_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Purchase price of acquired property. + References No definition available. + Details
Name: | good_PurchasePriceOfAcquiredProperty
Namespace Prefix: | good_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Sale Of Stock, Gross Consideration Received On Transaction + References No definition available. + Details
Name: | good_SaleOfStockGrossConsiderationReceivedOnTransaction
Namespace Prefix: | good_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Temporary Equity, Contract Terms, Minimum Vote Needed to Trigger Change in Control From Tender Offer + References No definition available. + Details
Name: | good_TemporaryEquityContractTermsMinimumVoteNeededtoTriggerChangeinControlFromTenderOffer
Namespace Prefix: | good_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Temporary Equity, Contract Terms, Trigger Change In Control, Percentage + References No definition available. + Details
Name: | good_TemporaryEquityContractTermsTriggerChangeInControlPercentage
Namespace Prefix: | good_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Universal Registration Statement, Amount Authorized + References No definition available. + Details
Name: | good_UniversalRegistrationStatementAmountAuthorized
Namespace Prefix: | good_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 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 Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 2: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Topic 272 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483014/272-10-45-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 272 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482987/272-10-50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(d)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-14 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-18 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(27)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-2 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479886/946-10-S99-3 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479886/946-10-S99-3 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)(i)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479886/946-10-S99-3 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479886/946-10-S99-3 + Details
Name: | us-gaap_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(7)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-3 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of general partner units issued. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 5 -Subparagraph (SAB Topic 4.F) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-5 + Details
Name: | us-gaap_GeneralPartnersCapitalAccountUnitsIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The parent entity's interest in net assets of the subsidiary, expressed as a percentage. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByParent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of preferred stock dividends and adjustments classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 7 -Subparagraph (SAB Topic 5.Q) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-7 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482689/260-10-45-11 + Details
Name: | us-gaap_OtherPreferredStockDividendsAndAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The percentage rate used to calculate dividend payments on preferred stock. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.12-12A(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 + Details
Name: | us-gaap_PreferredStockDividendRatePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The price per share at which the preferred stock of an entity that has priority over common stock in the distribution of dividends and in the event of liquidation of the entity is redeemed or may be called at. The redemption features of this preferred stock are solely within the control of the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-3 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-5 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-11 + Details
Name: | us-gaap_PreferredStockRedemptionPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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 Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of stock bought back by the entity at the exercise price or redemption price. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-2 + Details
Name: | us-gaap_StockRedeemedOrCalledDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the value of stock bought back by the entity at the exercise price or redemption price. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-2 + Details
Name: | us-gaap_StockRedeemedOrCalledDuringPeriodValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-2 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480167/946-830-55-11 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480767/946-205-45-4 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481004/946-505-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-3 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The maximum number of securities classified as temporary equity that are permitted to be issued by an entity's charter and bylaws. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(27)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_TemporaryEquitySharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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

X
- Details
Name: | srt_OwnershipAxis=good_GladstoneCommercialLimitedPartnershipMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesDPreferredStockMember
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_StatementClassOfStockAxis=us-gaap_SeriesGPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
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: |

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

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

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

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

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=good_CommonStockATMProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=good_PublicStockOfferingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=good_A2019RegistrationStatementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=good_A2020RegistrationStatementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=good_BairdGoldmanSachsStifelAndFifthThirdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=good_BairdGoldmanSachsStifelFifthThirdAndUSBancorpInvestmentsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=good_SeriesEPreferredStockATMProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |