v3.26.1
Investments - Schedule of Rollforward of Level 3 Investments Measured at Fair Value (Details)
$ in Thousands
6 Months Ended
Jun. 30, 2026
USD ($)
transfer
Jun. 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 73,789 109,257
Principal payments and sale proceeds received from investments (86,347) (86,260)
Transfers between investment types 0 0
Gross transfers out of Level 3 (271) 0
Fair value, ending balance 779,596 717,321
Net change in unrealized gains (losses) on Level 3 investments held $ (2,781) $ 1,616
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 $ 3,843 $ 5,728
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 $ 6,533 $ 9,007
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 $ 12,655 $ 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:
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,494) $ 1,678
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 72,640 105,514
Principal payments and sale proceeds received from investments (72,502) (83,952)
Transfers between investment types 0 0
Gross transfers out of Level 3 0 0
Fair value, ending balance 637,421 590,565
Net change in unrealized gains (losses) on Level 3 investments held (18,031) (5,664)
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 3,843 5,728
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 6,533 9,007
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 0 0
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 (18,459) (5,837)
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 846 1,760
Principal payments and sale proceeds received from investments (914) 0
Transfers between investment types (281) (339)
Gross transfers out of Level 3 0 0
Fair value, ending balance 58,352 43,924
Net change in unrealized gains (losses) on Level 3 investments held 8,983 2,306
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 (171) 0
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 9,678 2,540
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 1,983
Principal payments and sale proceeds received from investments (12,931) (2,308)
Transfers between investment types 281 339
Gross transfers out of Level 3 (271) 0
Fair value, ending balance 83,823 82,832
Net change in unrealized gains (losses) on Level 3 investments held 6,267 4,974
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 12,826 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 $ (4,713) $ 4,975
Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Number of transfers out of Level 3 | transfer 1 0