Annual report pursuant to Section 13 and 15(d)

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

v3.24.0.1
Organization, Basis of Presentation and Significant Accounting Policies - Additional Information (Details)
12 Months Ended
Dec. 31, 2023
USD ($)
segment
subsidiary
shares
Dec. 31, 2022
USD ($)
Dec. 31, 2021
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    
Total amortization expense related to intangible assets 16,700,000 $ 19,100,000 $ 20,700,000
Amortization related to below-market lease 8,000,000 5,100,000 4,100,000
Payments of deferred financing costs 400,000 5,355,000 792,000
Total amortization expense related to deferred financing costs is included in interest expense 1,646,000 3,482,000 1,583,000
Deferred rent write-offs $ 400,000 400,000 400,000
Uncertain tax positions percentage 50.00%    
Uncertain tax positions $ 0 0 0
ARO liabilities accrued in connection with acquisitions 95,000 979,000 600,000
Expenses recorded to general and administrative expense 100,000 100,000 100,000
Aggregate undiscounted obligation on properties $ 10,500,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 $ 600,000 $ 800,000 $ 800,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      
Organization And Significant Accounting Policies [Line Items]      
Estimated useful life 39 years    
Improvements | Minimum      
Organization And Significant Accounting Policies [Line Items]      
Estimated useful life 10 years    
Improvements | Maximum      
Organization And Significant Accounting Policies [Line Items]      
Estimated useful life 25 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.20% 99.00%  
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