v3.26.3
Investments - Schedule of Rollforward of Level 3 Investments Measured at Fair Value (Details)
$ in Thousands
9 Months Ended
Sep. 30, 2026
USD ($)
transfer
Sep. 30, 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 75,133 198,001
Principal payments and sale proceeds received from investments (146,484) (105,804)
Transfers between investment types 0 0
Gross transfers out of Level 3 (271) 0
Fair value, ending balance 716,926 797,915
Net change in unrealized gains (losses) on Level 3 investments held $ (9,904) $ 6,619
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:
Income Statement Location [Axis]: us-gaap:InterestExpenseOperating    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ 5,879 $ 7,376
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
Income Statement Location [Axis]: us-gaap:InterestIncomeOperatingPaidInKind    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ 8,996 $ 13,803
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
Income Statement Location [Axis]: us-gaap:RealizedInvestmentGainsLosses    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ (13,910) $ 1,583
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:
Income Statement Location [Axis]: us-gaap:UnrealizedGainLossOnInvestments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ 4,695 $ 7,323
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:
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 73,345 192,420
Principal payments and sale proceeds received from investments (127,662) (103,496)
Transfers between investment types 0 0
Gross transfers out of Level 3 0 0
Fair value, ending balance 573,888 664,867
Net change in unrealized gains (losses) on Level 3 investments held (30,354) (5,115)
Debt Investments | Income Statement Location [Axis]: us-gaap:InterestExpenseOperating    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 5,879 7,376
Debt Investments | Income Statement Location [Axis]: us-gaap:InterestIncomeOperatingPaidInKind    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 8,996 13,803
Debt Investments | Income Statement Location [Axis]: us-gaap:RealizedInvestmentGainsLosses    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (7,544) (672)
Debt Investments | Income Statement Location [Axis]: us-gaap:UnrealizedGainLossOnInvestments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (24,492) (4,669)
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 1,485 2,597
Principal payments and sale proceeds received from investments (915) 0
Transfers between investment types (281) (339)
Gross transfers out of Level 3 0 0
Fair value, ending balance 63,728 44,670
Net change in unrealized gains (losses) on Level 3 investments held 13,720 2,214
Warrant Investments | Income Statement Location [Axis]: us-gaap:InterestExpenseOperating    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 0 0
Warrant Investments | Income Statement Location [Axis]: us-gaap:InterestIncomeOperatingPaidInKind    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 0 0
Warrant Investments | Income Statement Location [Axis]: us-gaap:RealizedInvestmentGainsLosses    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (1,040) (23)
Warrant Investments | Income Statement Location [Axis]: us-gaap:UnrealizedGainLossOnInvestments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 15,285 2,472
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 2,984
Principal payments and sale proceeds received from investments (17,907) (2,308)
Transfers between investment types 281 339
Gross transfers out of Level 3 (271) 0
Fair value, ending balance 79,310 88,378
Net change in unrealized gains (losses) on Level 3 investments held 6,730 9,520
Equity Investments | Income Statement Location [Axis]: us-gaap:InterestExpenseOperating    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 0 0
Equity Investments | Income Statement Location [Axis]: us-gaap:InterestIncomeOperatingPaidInKind    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 0 0
Equity Investments | Income Statement Location [Axis]: us-gaap:RealizedInvestmentGainsLosses    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (5,326) 2,278
Equity Investments | Income Statement Location [Axis]: us-gaap:UnrealizedGainLossOnInvestments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ 13,902 $ 9,520
Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Number of transfers out of Level 3 | transfer 1 0