Annual report pursuant to Section 13 and 15(d)

FAIR VALUE HIERARCHY FOR INVESTMENTS???PORTFOLIO COMPOSITION - Schedule of Changes in Fair Value of Level??3 Portfolio Investments (Details)

v3.24.0.1
FAIR VALUE HIERARCHY FOR INVESTMENTS—PORTFOLIO COMPOSITION - Schedule of Changes in Fair Value of Level 3 Portfolio Investments (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance $ 4,100,273 $ 3,559,837
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (938,613) (646,592)
New Investments 892,879 1,161,118
Other (82) 0
Ending balance 4,286,271 4,100,273
Investments | Net Changes from Unrealized to Realized    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 118,212 5,606
Investments | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 113,602 20,303
Debt    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 2,928,196 2,509,568
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (891,359) (590,740)
New Investments 800,838 1,085,808
Other (43,888) (6,936)
Ending balance 2,883,917 2,928,196
Debt | Net Changes from Unrealized to Realized    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 114,759 19,674
Debt | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (24,629) (89,178)
Equity    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 1,166,643 1,043,709
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (46,829) (55,197)
New Investments 89,950 74,274
Other 46,382 6,936
Ending balance 1,395,744 1,166,643
Equity | Net Changes from Unrealized to Realized    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 3,028 (12,234)
Equity | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 136,570 109,154
Equity Warrant    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 5,434 6,560
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (425) (655)
New Investments 2,091 1,036
Other (2,576) 0
Ending balance 6,610 5,434
Equity Warrant | Net Changes from Unrealized to Realized    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 425 (1,834)
Equity Warrant | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ 1,661 $ 327