v3.25.2
Net Increase (Decrease) in Net Assets per Common Share- Schedule of Computation (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Earnings Per Share [Abstract]          
Net increase (decrease) in net assets resulting from operations - basic $ (593,762) $ 147,416 $ (172,473)    
Adjustment for dividends on Convertible Preferred Stock 0 80,100 0    
Adjustment for interest on Convertible Notes 0 0 0    
Adjustment for Incentive Fee on Convertible Instruments 0 (16,020) 0    
Net increase (decrease) in net assets resulting from operations - diluted $ (593,762) $ 211,496 $ (172,473)    
Weighted average common shares outstanding - basic (in shares) 440,314,909 412,703,365 398,514,965 390,571,648 382,705,106
Weighted average common shares from assumed conversion of Convertible Preferred Stock (in shares) 0 212,573,371 0    
Weighted average common shares from assumed conversion of Convertible Notes (in shares) 0 0 0    
Weighted average shares of common stock outstanding - diluted (in shares) 440,314,909 625,276,736 398,514,965    
Earnings (loss) per share - basic (in dollars per share) $ (1.35) $ 0.36 $ (0.43)    
Earnings (loss) per share - diluted (in dollars per share) $ (1.35) $ 0.34 $ (0.43)