Annual report pursuant to Section 13 and 15(d)

Organization, Basis of Presentation and Significant Accounting Policies - Additional Information (Detail)

v3.22.0.1
Organization, Basis of Presentation and Significant Accounting Policies - Additional Information (Detail)
12 Months Ended
Dec. 31, 2021
USD ($)
subsidiary
segment
shares
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Organization And Significant Accounting Policies [Line Items]      
Number of subsidiaries interest owned in general and limited partnership | subsidiary 2    
Non-qualifying income related to real estate portfolio $ 0    
Amortization related to above-market lease 43,000 $ 52,000 $ 53,000
Amortization related to below-market lease 4,100,000 2,800,000 2,500,000
Total amortization expense related to intangible assets 20,700,000 19,400,000 19,200,000
Payments of deferred financing costs 792,000 606,000 2,480,000
Total amortization expense related to deferred financing costs is included in interest expense 1,583,000 1,531,000 1,641,000
Deferred rent write-offs $ 400,000 200,000 0
Uncertain tax positions percentage 50.00%    
Uncertain tax positions $ 0 0 0
ARO liabilities accrued in connection with acquisitions 600,000 0 164,000
Expenses recorded to general and administrative expense 100,000 100,000 100,000
Aggregate undiscounted obligation on properties $ 6,800,000    
Number of reporting segments | segment 1    
Number of operating segments | segment 1    
Above Market Leases      
Organization And Significant Accounting Policies [Line Items]      
Total amortization expense related to intangible assets $ 800,000 $ 800,000 $ 1,100,000
Minimum      
Organization And Significant Accounting Policies [Line Items]      
Expected lease up period for estimating carrying costs 9 months    
Remaining term of in-place leases and unamortized lease 7 years    
REIT taxable income to its stockholders (as percent) 90.00%    
Percentage of discount rate for calculating undiscounted obligation 2.00%    
Maximum      
Organization And Significant Accounting Policies [Line Items]      
Expected lease up period for estimating carrying costs 18 months    
Remaining term of in-place leases and unamortized lease 15 years    
REIT taxable income to its stockholders (as percent) 100.00%    
Percentage of discount rate for calculating undiscounted obligation 7.00%    
Building and Improvements      
Organization And Significant Accounting Policies [Line Items]      
Estimated useful life 39 years    
Equipment and Fixtures | Minimum      
Organization And Significant Accounting Policies [Line Items]      
Estimated useful life 5 years    
Equipment and Fixtures | Maximum      
Organization And Significant Accounting Policies [Line Items]      
Estimated useful life 20 years    
GCLP Business Trust I      
Organization And Significant Accounting Policies [Line Items]      
Subsidiary and business trust of the Company, formed under the laws of the Commonwealth of Massachusetts, date Dec. 28, 2005    
Percentage of limited partnership interest transferred to business unit 99.00%    
Number of trust shares exchanged for limited partnership interest (in shares) | shares 100    
Operating Partnership      
Organization And Significant Accounting Policies [Line Items]      
Company ownership percentage of voting securities 99.30% 98.60%  
Gladstone Commercial Advisers, Inc.      
Organization And Significant Accounting Policies [Line Items]      
Company ownership percentage of voting securities 100.00%    
GCLP Business Trust II      
Organization And Significant Accounting Policies [Line Items]      
Percentage of limited partnership interest transferred to business unit 1.00%    
Number of trust shares exchanged for general partnership interest (in shares) | shares 100