Annual report pursuant to Section 13 and 15(d)

Mortgage Notes Payable and Line of Credit - Summary of Long-Term Mortgages (Detail)

v2.4.1.9
Mortgage Notes Payable and Line of Credit - Summary of Long-Term Mortgages (Detail) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Debt Instrument [Line Items]    
Debt Issued $ 62,231us-gaap_MortgageLoansOnRealEstateNewMortgageLoans $ 71,795us-gaap_MortgageLoansOnRealEstateNewMortgageLoans
Wells Fargo N.A [Member] | Maturity Date One [Member]    
Debt Instrument [Line Items]    
Date of Issuance Mar. 27, 2014  
Issuing Bank Wells Fargo N.A.  
Debt Issued 6,330us-gaap_MortgageLoansOnRealEstateNewMortgageLoans
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateOneMember
/ us-gaap_LineOfCreditFacilityAxis
= good_WellsFargoMember
 
Interest Rate 5.58%us-gaap_MortgageLoansOnRealEstateInterestRate
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateOneMember
/ us-gaap_LineOfCreditFacilityAxis
= good_WellsFargoMember
 
Maturity Date Feb. 01, 2016  
Wells Fargo N.A [Member] | Maturity Date Three [Member]    
Debt Instrument [Line Items]    
Date of Issuance May 08, 2014  
Issuing Bank Wells Fargo N.A.  
Debt Issued 3,816us-gaap_MortgageLoansOnRealEstateNewMortgageLoans
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateThreeMember
/ us-gaap_LineOfCreditFacilityAxis
= good_WellsFargoMember
 
Interest Rate 6.25%us-gaap_MortgageLoansOnRealEstateInterestRate
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateThreeMember
/ us-gaap_LineOfCreditFacilityAxis
= good_WellsFargoMember
 
Maturity Date Jun. 01, 2016  
Key Bank N.A [Member] | Maturity Date Two [Member]    
Debt Instrument [Line Items]    
Date of Issuance Apr. 22, 2014  
Issuing Bank Keybank N.A.  
Debt Issued 4,935us-gaap_MortgageLoansOnRealEstateNewMortgageLoans
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateTwoMember
/ us-gaap_LineOfCreditFacilityAxis
= good_KeyBankMember
 
Interest Rate 4.90%us-gaap_MortgageLoansOnRealEstateInterestRate
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateTwoMember
/ us-gaap_LineOfCreditFacilityAxis
= good_KeyBankMember
 
Maturity Date May 01, 2024  
Prudential Mortgage Capital Company [Member] | Maturity Date Four [Member]    
Debt Instrument [Line Items]    
Date of Issuance Jun. 09, 2014  
Issuing Bank Prudential Mortgage Capital Company  
Debt Issued 22,600us-gaap_MortgageLoansOnRealEstateNewMortgageLoans
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateFourMember
/ us-gaap_LineOfCreditFacilityAxis
= good_PrudentialMortgageCapitalCompanyLlcMember
 
Interest Rate 4.23%us-gaap_MortgageLoansOnRealEstateInterestRate
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateFourMember
/ us-gaap_LineOfCreditFacilityAxis
= good_PrudentialMortgageCapitalCompanyLlcMember
 
Maturity Date Jul. 01, 2019  
Prudential Mortgage Capital Company [Member] | Maturity Date Six [Member]    
Debt Instrument [Line Items]    
Date of Issuance Dec. 23, 2014  
Issuing Bank Prudential Mortgage Capital Company  
Debt Issued 18,450us-gaap_MortgageLoansOnRealEstateNewMortgageLoans
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateSixMember
/ us-gaap_LineOfCreditFacilityAxis
= good_PrudentialMortgageCapitalCompanyLlcMember
 
Interest Rate 4.04%us-gaap_MortgageLoansOnRealEstateInterestRate
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateSixMember
/ us-gaap_LineOfCreditFacilityAxis
= good_PrudentialMortgageCapitalCompanyLlcMember
 
Maturity Date Jan. 01, 2025  
Everbank [Member] | Maturity Date Five [Member]    
Debt Instrument [Line Items]    
Date of Issuance Sep. 03, 2014  
Issuing Bank Everbank  
Debt Issued $ 6,100us-gaap_MortgageLoansOnRealEstateNewMortgageLoans
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateFiveMember
/ us-gaap_LineOfCreditFacilityAxis
= good_EverbankFinancialCorpMember
 
Interest Rate 4.40%us-gaap_MortgageLoansOnRealEstateInterestRate
/ us-gaap_DebtInstrumentAxis
= good_MaturityDateFiveMember
/ us-gaap_LineOfCreditFacilityAxis
= good_EverbankFinancialCorpMember
 
Maturity Date Oct. 01, 2024