Quarterly report pursuant to Section 13 or 15(d)

Equity and Mezzanine Equity - Additional Information (Details)

v3.23.3
Equity and Mezzanine Equity - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Sep. 30, 2023
Sep. 30, 2022
Dec. 31, 2022
Feb. 09, 2023
Feb. 20, 2020
Feb. 19, 2020
Jan. 29, 2020
Class of Stock [Line Items]                  
Temporary equity, contract terms, trigger change in control     50.00%            
Common stock, shares outstanding (in shares) 39,917,995   39,917,995   39,744,359   60,290,000 86,290,000  
Units held by noncontrolling owners (in shares)     391,468   391,468        
Gladstone Commercial Limited Partnership                  
Class of Stock [Line Items]                  
Company ownership percentage of voting securities 99.00%   99.00%   99.00%        
Series D Preferred Stock                  
Class of Stock [Line Items]                  
Temporary equity, contract terms, minimum vote needed to trigger change in control from tender offer 90.00%   90.00%            
Common Stock                  
Class of Stock [Line Items]                  
Repurchase of common stock, net $ 0 $ 0 $ 1 $ 0          
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]                  
Redeemable preferred stock, shares issued (in shares)     229,677            
Consideration received     $ 5,200            
Redeemable preferred stock, shares authorized (in shares)             26,000,000    
Common Stock ATM Program | Common Stock                  
Class of Stock [Line Items]                  
Repurchase of common stock, net     $ 1,000            
Universal registration statement, amount authorized                 $ 63,000
Common Stock ATM Program | Baird, Goldman Sachs, Stifel, Fifth Third, and U.S. Bancorp Investments, Inc. | Common Stock                  
Class of Stock [Line Items]                  
Redeemable preferred stock, shares issued (in shares)     200,000            
Maximum aggregate sales price of shares to be issued under open market sale agreement $ 250,000   $ 250,000            
Common Stock ATM Program | Baird, Goldman Sachs, Stifel, and Fifth Third | Common Stock                  
Class of Stock [Line Items]                  
Consideration received     $ 4,000            
Maximum aggregate sales price of shares to be issued under open market sale agreement           $ 100,000      
2020 Universal Shelf                  
Class of Stock [Line Items]                  
Universal registration statement, amount authorized                 800,000
2020 Universal Shelf | Preferred Stock | Series F Preferred Stock                  
Class of Stock [Line Items]                  
Universal registration statement, amount authorized                 $ 636,500