XML 78 R54.htm IDEA: XBRL DOCUMENT
v3.22.4

Equity and Mezzanine Equity - Additional Information (Details) $ / shares in Units, $ in Thousands |  |  |  | 1 Months Ended | 12 Months Ended |  |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Sep. 20, 2022 USD ($) ft² shares | Jun. 30, 2021 USD ($) $ / shares shares | Jun. 28, 2021 USD ($) $ / shares shares | Feb. 29, 2020 | Dec. 31, 2022 USD ($) shares | Dec. 31, 2021 USD ($) shares | Dec. 31, 2020 USD ($) shares | Aug. 05, 2021 shares | Jun. 23, 2021 shares | Feb. 20, 2020 shares | Feb. 19, 2020 shares | Jan. 29, 2020 USD ($) | Dec. 31, 2019 shares | Dec. 03, 2019 USD ($) | Jan. 11, 2019 USD ($)
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net proceeds from sale of shares | $ |  |  | $ 96,600 |  |  |  |  |  |  |  |  |  |  |  |
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) | shares |  |  |  |  | 62,305,727 | 62,290,000 |  |  |  |  |  |  |  |  |
Common stock, shares outstanding (in shares) | shares |  |  |  |  | 39,744,359 | 37,473,587 |  |  |  | 60,290,000 | 86,290,000 |  |  |  |
Aggregate Purchase Price | $ |  |  |  |  | $ 115,364 | $ 100,453 |  |  |  |  |  |  |  |  |
Ownership by noncontrolling owners, shares outstanding (in shares) | shares |  |  |  |  | 391,468 | 256,994 |  |  |  |  |  |  |  |  |
Fort Payne, Alabama |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate Square Footage | ft² | 49,375 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate Purchase Price | $ | $ 5,600 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Operating Partnership |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Company ownership percentage of voting securities |  |  |  |  | 99.00% | 99.30% |  |  |  |  |  |  |  |  |
Units issued | shares | 134,474 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of units redeemed in acquisition (in shares) | shares |  |  |  |  |  | 246,039 |  |  |  |  |  |  |  |  |
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) | 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 | $ |  |  |  |  | $ (164) |  |  |  |  |  |  |  |  |  |
Redeemable preferred stock, shares authorized (in shares) | shares |  |  |  |  | 25,992,787 | 26,000,000 |  |  |  |  |  |  |  |  |
Series G Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock redeemed | $ |  |  |  |  | $ (37) |  |  |  |  |  |  |  |  |  |
Redeemable preferred stock, shares authorized (in shares) | shares |  |  |  |  |  |  |  |  | 4,000,000 |  |  |  |  |  |
Common Stock and Non-controlling OP Units |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock redeemed (in shares) | shares |  |  |  |  |  | 246,039 |  |  |  |  |  |  |  |  |
Common stock, shares authorized (in shares) | shares |  |  |  |  |  |  |  | 62,290,000 |  |  |  |  |  |  |
Common stock, shares outstanding (in shares) | shares |  |  |  |  | 39,744,359 | 37,473,587 | 35,331,970 |  |  |  |  |  | 32,593,651 |  |
Preferred Stock | Series D Cumulative Redeemable Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock, dividend rate |  |  |  |  | 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) | shares |  |  |  |  |  |  |  | 2,490,445 |  |  |  |  |  |  |
Preferred Stock | Series E Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Redeemable preferred stock, shares authorized (in shares) | shares |  |  |  |  |  |  |  | 6,760,000 |  |  |  |  |  |  |
Preferred Stock | Series F Preferred Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares sold (in shares) | shares |  |  |  |  | 200,000 |  |  |  |  |  |  |  |  |  |
Net proceeds from sale of shares | $ |  |  |  |  | $ 5,400 |  |  |  |  |  |  |  |  |  |
Open market dale agreement, value of remaining capacity | $ |  |  |  |  | 619,600 |  |  |  |  |  |  |  |  |  |
Preferred stock, dividend rate |  |  |  | 6.00% |  |  |  |  |  |  |  |  |  |  |
Redeemable preferred stock, shares authorized (in shares) | 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) | shares |  |  |  |  |  |  |  | 4,000,000 |  |  |  |  |  |  |
Senior Common Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common stock, shares authorized (in shares) | shares |  |  |  |  |  |  |  | 950,000 |  |  |  |  |  |  |
Public Stock Offering |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares sold (in shares) | 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 | $ |  |  |  |  | $ 644,000 |  |  |  |  |  |  | $ 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 |
Number of shares sold (in shares) | shares |  |  |  |  | 2,100,000 |  |  |  |  |  |  |  |  |  |
Net proceeds from sale of shares | $ |  |  |  |  | $ 43,200 |  |  |  |  |  |  |  |  |  |
Open market dale agreement, value of remaining capacity | $ |  |  |  |  | 23,900 |  |  |  |  |  |  |  |  |  |
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 |  |  |  |  |  |  |  |  |  |
Open market dale agreement, value of remaining capacity | $ |  |  |  |  | $ 92,800 |  |  |  |  |  |  |  |  |  |

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 Maximum Remaining Capacity To Sell Common Stock Under Open Market Sale Agreement + References No definition available. + Details
Name: | good_MaximumRemainingCapacityToSellCommonStockUnderOpenMarketSaleAgreement
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-types:percentItemType
Balance Type: | na
Period Type: | instant

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 No definition available. + 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 5 -Subparagraph (SAB Topic 4.F) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187171-122770 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e1377-109256 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 7 -Subparagraph (SAB Topic 5.Q) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187283-122770 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21488-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21564-112644 + 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 + Details
Name: | us-gaap_StockRedeemedOrCalledDuringPeriodValue
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 -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(27)(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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_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: | us-gaap_SubsidiarySaleOfStockAxis=good_CommonStockATMProgramMember
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: |