Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Summary of Changes in Stockholders' Equity (Detail)

v2.4.1.9
Stockholders' Equity - Summary of Changes in Stockholders' Equity (Detail) (USD $)
In Thousands, except Share data, unless otherwise specified
3 Months Ended
Mar. 31, 2015
Mar. 31, 2014
Mar. 31, 2011
Dec. 31, 2014
Preferred Stock, Shares Issued, beginning balance 2,150,000us-gaap_PreferredStockSharesIssued      
Preferred Stock, Shares Issued, ending balance 2,150,000us-gaap_PreferredStockSharesIssued      
Senior Common stock, Shares Issued, beginning balance 809,411good_SeniorCommonStockSharesIssued      
Senior Common stock, Shares Issued, ending balance 1,001,957good_SeniorCommonStockSharesIssued      
Common Stock, Shares Issued, beginning balance 19,589,606us-gaap_CommonStockSharesIssued      
Common Stock, Shares Issued, ending balance 20,459,687us-gaap_CommonStockSharesIssued      
Total Stockholders' Equity, beginning balance $ 217,672us-gaap_StockholdersEquity      
Issuance of senior common stock and common stock, net 17,644us-gaap_StockIssuedDuringPeriodValueNewIssues      
Distributions declared to common, senior common and preferred stockholders (8,853)us-gaap_Dividends      
Net income 694us-gaap_NetIncomeLoss (13,514)us-gaap_NetIncomeLoss    
Total Stockholders' Equity, ending balance 227,157us-gaap_StockholdersEquity      
Senior Common Stock [Member]        
Issuance of common stock, net, Shares 192,546us-gaap_StockIssuedDuringPeriodSharesNewIssues
/ us-gaap_StatementClassOfStockAxis
= good_SeniorCommonStockMember
     
Common Stock, Shares Issued, beginning balance     3,500,000us-gaap_CommonStockSharesIssued
/ us-gaap_StatementClassOfStockAxis
= good_SeniorCommonStockMember
 
Common Stock, Shares Issued, ending balance     3,500,000us-gaap_CommonStockSharesIssued
/ us-gaap_StatementClassOfStockAxis
= good_SeniorCommonStockMember
 
Total Stockholders' Equity, beginning balance 1us-gaap_StockholdersEquity
/ us-gaap_StatementClassOfStockAxis
= good_SeniorCommonStockMember
     
Total Stockholders' Equity, ending balance 1us-gaap_StockholdersEquity
/ us-gaap_StatementClassOfStockAxis
= good_SeniorCommonStockMember
     
Preferred Stock [Member]        
Total Stockholders' Equity, beginning balance       2us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_PreferredStockMember
Total Stockholders' Equity, ending balance 2us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_PreferredStockMember
    2us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_PreferredStockMember
Common Stock [Member]        
Issuance of common stock, net, Shares 870,081us-gaap_StockIssuedDuringPeriodSharesNewIssues
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
     
Total Stockholders' Equity, beginning balance 20us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
     
Total Stockholders' Equity, ending balance 20us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
     
Additional Paid in Capital [Member]        
Total Stockholders' Equity, beginning balance 369,748us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_AdditionalPaidInCapitalMember
     
Issuance of senior common stock and common stock, net 17,644us-gaap_StockIssuedDuringPeriodValueNewIssues
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_AdditionalPaidInCapitalMember
     
Total Stockholders' Equity, ending balance 387,392us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_AdditionalPaidInCapitalMember
     
Notes Receivable from Employees [Member]        
Total Stockholders' Equity, beginning balance       (375)us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= good_NotesReceivableFromEmployeesMember
Total Stockholders' Equity, ending balance (375)us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= good_NotesReceivableFromEmployeesMember
    (375)us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= good_NotesReceivableFromEmployeesMember
Distributions in Excess of Accumulated Earnings [Member]        
Total Stockholders' Equity, beginning balance (151,724)us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_AccumulatedDistributionsInExcessOfNetIncomeMember
     
Distributions declared to common, senior common and preferred stockholders (8,853)us-gaap_Dividends
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_AccumulatedDistributionsInExcessOfNetIncomeMember
     
Net income 694us-gaap_NetIncomeLoss
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_AccumulatedDistributionsInExcessOfNetIncomeMember
     
Total Stockholders' Equity, ending balance $ (159,883)us-gaap_StockholdersEquity
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_AccumulatedDistributionsInExcessOfNetIncomeMember