Annual report pursuant to Section 13 and 15(d)

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

v3.22.4
FAIR VALUE HIERARCHY FOR INVESTMENTS—PORTFOLIO COMPOSITION - Changes in Fair Value of Level 3 Portfolio Investments (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance $ 3,559,837 $ 2,684,866
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (646,592) (989,359)
New Investments 1,161,118 1,714,336
Other 0 0
Ending balance 4,100,273 3,559,837
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 5,606 (11,022)
Investments | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 20,303 161,016
Debt investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 2,509,568 1,807,134
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (590,740) (909,464)
New Investments 1,085,808 1,608,143
Other (6,936) (3,798)
Ending balance 2,928,196 2,509,568
Debt 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 19,674 18,397
Debt investments | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (89,178) (10,844)
Equity investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 1,043,709 866,734
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (55,197) (78,824)
New Investments 74,274 106,193
Other 6,936 6,080
Ending balance 1,166,643 1,043,709
Equity 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 (12,234) (27,260)
Equity investments | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 109,154 170,786
Equity Warrant    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 6,560 10,998
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (655) (1,071)
New Investments 1,036 0
Other 0 (2,282)
Ending balance 5,434 6,560
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 (1,834) (2,159)
Equity Warrant | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ 327 $ 1,074