v3.26.1
Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
6 Months Ended
Jun. 30, 2026
Dec. 31, 2025
Line of Credit Facility [Line Items]    
Investment aggregate capitalization 5.00%  
Investments aggregating capitalization valuations of Percentage 5.00%  
Minimum aggregate percentage of assets required for applicability of foregoing investment policies 5.00%  
Cash and cash equivalents $ 157,546,660 $ 61,075,494
Restricted cash $ 0 $ 0
Percentage of foreign currency denominated investments 0.005 0.004
Non-expiring capital loss carryforwards   $ 825,454,996
Fair Value $ 1,290,523,348 1,533,302,472
Fourteen Senior Debt | Income Approach    
Line of Credit Facility [Line Items]    
Fair Value 18,100,000  
Fourteen Senior Debt | Valuation Technique, Consensus Pricing Model    
Line of Credit Facility [Line Items]    
Fair Value 84,900,000  
Four Senior Debt | Income Approach    
Line of Credit Facility [Line Items]    
Fair Value 4,500,000  
Interest Rate Swap    
Line of Credit Facility [Line Items]    
Notional amount of interest rate swap $ 35,000,000  
Fixed interest rate 2.633%  
JPMorgan U.S. Government Money Market Fund    
Line of Credit Facility [Line Items]    
Cash and cash equivalents $ 150,400,000 $ 3,800,000
Percentage of cash and cash equivalents net assets held 27.20% 0.60%
Yield percentage of cash equivalents 3.54% 3.66%
Allspring Government Money Market Fund    
Line of Credit Facility [Line Items]    
Cash and cash equivalents $ 600,000 $ 47,600,000
Percentage of cash and cash equivalents net assets held 0.10% 8.00%
Yield percentage of cash equivalents 3.51% 3.65%