v3.26.1
Investments - Schedule of Rollforward of Level 3 Investments Measured at Fair Value (Details)
$ in Thousands
3 Months Ended
Mar. 31, 2026
USD ($)
transfer
Mar. 31, 2025
USD ($)
transfer
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Fair value, beginning balance $ 782,888 $ 675,633
Funding and purchases of investments, at cost 26,786 28,537
Principal payments and sale proceeds received from investments (27,483) (29,971)
Transfers between investment types 0 0
Gross transfers out of Level 3 (271) 0
Fair value, ending balance 784,603 681,482
Net change in unrealized gains (losses) on Level 3 investments held $ (3,173) $ (217)
Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss), Statement of Income or Comprehensive Income Flag Net change in unrealized gains (losses) on investments Net change in unrealized gains (losses) on investments
Net amortization and accretion of premiums and discounts and end-of-term payments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ 2,253 $ 1,467
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income Flag Interest expense and amortization of fees Interest expense and amortization of fees
Net realized gains (losses) on investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ (296) $ 2,278
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income Flag Net realized gains (losses) on investments Net realized gains (losses) on investments
Net change in unrealized gains (losses) included in earnings    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ (2,769) $ (217)
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income Flag Net change in unrealized gains (losses) on investments Net change in unrealized gains (losses) on investments
Payment-in-kind coupon    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ 3,495 $ 3,755
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income Flag Payment-in-kind interest income Payment-in-kind interest income
Debt Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Fair value, beginning balance $ 645,366 $ 560,105
Funding and purchases of investments, at cost 25,910 27,327
Principal payments and sale proceeds received from investments (27,182) (27,663)
Transfers between investment types 0 0
Gross transfers out of Level 3 0 0
Fair value, ending balance 641,286 565,413
Net change in unrealized gains (losses) on Level 3 investments held (8,556) 422
Debt Investments | Net amortization and accretion of premiums and discounts and end-of-term payments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 2,253 1,467
Debt Investments | Net realized gains (losses) on investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 0 0
Debt Investments | Net change in unrealized gains (losses) included in earnings    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (8,556) 422
Debt Investments | Payment-in-kind coupon    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 3,495 3,755
Warrant Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Fair value, beginning balance 49,194 39,963
Funding and purchases of investments, at cost 573 762
Principal payments and sale proceeds received from investments (301) 0
Transfers between investment types (281) 0
Gross transfers out of Level 3 0 0
Fair value, ending balance 52,086 41,997
Net change in unrealized gains (losses) on Level 3 investments held 2,794 1,272
Warrant Investments | Net amortization and accretion of premiums and discounts and end-of-term payments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 0 0
Warrant Investments | Net realized gains (losses) on investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (296) 0
Warrant Investments | Net change in unrealized gains (losses) included in earnings    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 3,197 1,272
Warrant Investments | Payment-in-kind coupon    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 0 0
Equity Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Fair value, beginning balance 88,328 75,565
Funding and purchases of investments, at cost 303 448
Principal payments and sale proceeds received from investments 0 (2,308)
Transfers between investment types 281 0
Gross transfers out of Level 3 (271) 0
Fair value, ending balance 91,231 74,072
Net change in unrealized gains (losses) on Level 3 investments held 2,589 (1,911)
Equity Investments | Net amortization and accretion of premiums and discounts and end-of-term payments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 0 0
Equity Investments | Net realized gains (losses) on investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 0 2,278
Equity Investments | Net change in unrealized gains (losses) included in earnings    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 2,590 (1,911)
Equity Investments | Payment-in-kind coupon    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ 0 $ 0
Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Number of transfers out of Level 3 | transfer 1 0