Quarterly report pursuant to Section 13 or 15(d)

Equity and Mezzanine Equity - Additional Information (Details)

v3.24.2.u1
Equity and Mezzanine Equity - Additional Information (Details) - USD ($)
$ in Millions
6 Months Ended 12 Months Ended
Jun. 30, 2024
Dec. 31, 2023
Mar. 31, 2024
Mar. 13, 2024
Nov. 23, 2022
Feb. 20, 2020
Feb. 19, 2020
Class of Stock [Line Items]              
Temporary equity, contract terms, trigger change in control 50.00%            
Temporary equity, contract terms, minimum vote needed to trigger change in control from tender offer 90.00%            
Common stock, shares outstanding (in shares) 41,030,864 40,000,596       60,290,000 86,290,000
Units held by noncontrolling owners (in shares) 39,474 310,643          
Gladstone Commercial Limited Partnership              
Class of Stock [Line Items]              
Company ownership percentage of voting securities 99.90% 99.20%          
Number of units redeemed in acquisition (in shares) 271,169            
Preferred Stock | Series E Preferred Stock              
Class of Stock [Line Items]              
Redeemable preferred stock, dividend rate 6.625%            
Preferred Stock | Series G Preferred Stock              
Class of Stock [Line Items]              
Redeemable preferred stock, dividend rate 6.00%            
Preferred Stock | Series F Preferred Stock              
Class of Stock [Line Items]              
Number of shares sold (in shares) 25,780            
Consideration received $ 0.6            
Redeemable preferred stock, shares authorized (in shares)           26,000,000  
Common Stock ATM Program, 2023 | BofA, Baird, Goldman Sachs, KeyBanc Capital Markets Inc, and Fifth Third | Common Stock              
Class of Stock [Line Items]              
Maximum aggregate sales price of shares to be issued under open market sale agreement         $ 250.0    
Number of shares sold (in shares) 0            
Common Stock ATM Program, 2024 | BofA, Baird, Goldman Sachs, KeyBanc Capital Markets Inc, and Fifth Third | Common Stock              
Class of Stock [Line Items]              
Maximum aggregate sales price of shares to be issued under open market sale agreement     $ 250.0        
Number of shares sold (in shares) 756,214            
Consideration received $ 10.6            
2022 Registration Statement              
Class of Stock [Line Items]              
Universal registration statement, amount authorized       $ 1,300.0