Summary of Significant Accounting Policies - Additional Information (Details) |
3 Months Ended | 6 Months Ended | 12 Months Ended | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Jun. 30, 2026
USD ($)
|
Jun. 30, 2025
USD ($)
|
Jun. 30, 2026
USD ($)
Loan
Equipment
|
Jun. 30, 2025
USD ($)
|
Dec. 31, 2025
USD ($)
Equipment
|
Dec. 31, 2024
USD ($)
Loan
|
||||||||||||
| Disclosure Of Summary Of Significant Accounting Policies [Line Items] | |||||||||||||||||
| Fair value of companies investment percentage | 98.80% | 98.80% | |||||||||||||||
| Market index of investment securities | $ 0 | ||||||||||||||||
| Maturity period description | original maturity of three months or less | ||||||||||||||||
| Total cash, cash equivalents and restricted cash shown in the Consolidated Statements of Cash Flows | $ 22,177,000 | $ 26,251,000 | $ 22,177,000 | $ 26,251,000 | $ 19,110,000 | $ 9,627,000 | |||||||||||
| Cash and cash equivalents | 22,177,000 | [1],[2] | 22,177,000 | [1],[2] | 19,110,000 | [3],[4] | |||||||||||
| Restricted cash | 0 | 0 | $ 0 | ||||||||||||||
| Interest income | 1,100,000 | 1,500,000 | 2,100,000 | $ 3,000,000 | |||||||||||||
| Dividend income | 1,300,000 | $ 5,900,000 | |||||||||||||||
| Debt security payment due | 90 days | ||||||||||||||||
| Number of portfolio companies loans | Loan | 4 | 3 | |||||||||||||||
| Number of portfolio companies equipment financing | Equipment | 1 | 1 | |||||||||||||||
| Non accrual cost | $ 41,000,000 | $ 20,700,000 | |||||||||||||||
| Fair value | 18,700,000 | $ 18,700,000 | $ 15,200,000 | ||||||||||||||
| Fair value of debt investment portfolio | 0.80% | 0.70% | |||||||||||||||
| Investment percentage | 15.50% | 15.90% | |||||||||||||||
| Percentage of net tax- exempt income | 90.00% | ||||||||||||||||
| Uncertain tax position | $ 0 | $ 0 | |||||||||||||||
| Nondeductible federal excise tax | 4.00% | ||||||||||||||||
| Ordinary income percentage | 98.00% | ||||||||||||||||
| Capital gain net income percentage | 98.20% | ||||||||||||||||
| Excise tax | 4.00% | ||||||||||||||||
| Control Investments | |||||||||||||||||
| Disclosure Of Summary Of Significant Accounting Policies [Line Items] | |||||||||||||||||
| Dividend income | 600,000 | $ 4,300,000 | |||||||||||||||
| Affiliate Investments | |||||||||||||||||
| Disclosure Of Summary Of Significant Accounting Policies [Line Items] | |||||||||||||||||
| Dividend income | 700,000 | $ 500,000 | 1,600,000 | $ 1,300,000 | |||||||||||||
| Goldman Sachs Financial Square Government Institutional Fund | |||||||||||||||||
| Disclosure Of Summary Of Significant Accounting Policies [Line Items] | |||||||||||||||||
| Cash and cash equivalents | $ 1,400,000 | $ 1,400,000 | $ 100,000 | ||||||||||||||
| Minimum | |||||||||||||||||
| Disclosure Of Summary Of Significant Accounting Policies [Line Items] | |||||||||||||||||
| Cash and cash equivalents interest rate | 3.00% | ||||||||||||||||
| Investment percentage | 90.00% | ||||||||||||||||
| Maximum | |||||||||||||||||
| Disclosure Of Summary Of Significant Accounting Policies [Line Items] | |||||||||||||||||
| Cash and cash equivalents interest rate | 6.00% | ||||||||||||||||
| |||||||||||||||||