v3.26.1
Investments - Schedule of Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation (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 $ 359,400 $ 359,897
Funding and purchases of investments, at cost 77,804 41,845
Principal payments and sale proceeds received from investments (66,918) (56,310)
Transfers between investments 0 0
Gross transfers out of Level 3 (299) 0
Fair value, ending balance 379,190 335,237
Net change in unrealized gains (losses) on Level 3 investments held $ 7,281 $ (8,154)
Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] 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 $ 1,371 $ 3,809
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] 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 $ 1,945 $ 3,055
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Interest income from investments Interest income from 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,796) $ (16,261)
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] 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,683 $ (798)
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] 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 $ 302,379 $ 318,838
Funding and purchases of investments, at cost 75,768 39,132
Principal payments and sale proceeds received from investments (66,619) (54,720)
Transfers between investments 0 0
Gross transfers out of Level 3 0 0
Fair value, ending balance 307,558 289,080
Net change in unrealized gains (losses) on Level 3 investments held (6,229) (10,480)
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 1,371 3,809
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 1,945 3,055
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,600) (16,145)
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 314 (4,889)
Warrant Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Fair value, beginning balance 30,287 24,111
Funding and purchases of investments, at cost 1,033 1,169
Principal payments and sale proceeds received from investments (299) (1,438)
Transfers between investments (43) (634)
Gross transfers out of Level 3 (49) 0
Fair value, ending balance 43,315 25,789
Net change in unrealized gains (losses) on Level 3 investments held 12,599 906
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 (196) 237
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 12,582 2,344
Equity Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Fair value, beginning balance 26,734 16,948
Funding and purchases of investments, at cost 1,003 1,544
Principal payments and sale proceeds received from investments 0 (152)
Transfers between investments 43 634
Gross transfers out of Level 3 (250) 0
Fair value, ending balance 28,317 20,368
Net change in unrealized gains (losses) on Level 3 investments held 911 1,420
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 0 (353)
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 $ 787 $ 1,747
Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Number of transfers out of Level 3 | transfer 2 0