Summary of Significant Accounting Policies - Additional Information (Details) |
3 Months Ended | 6 Months Ended | 12 Months Ended | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2025
USD ($)
|
Jun. 30, 2024
USD ($)
|
Jun. 30, 2025
USD ($)
Loan
Equipment
|
Jun. 30, 2024
USD ($)
|
Dec. 31, 2024
USD ($)
Loan
Equipment
|
Dec. 31, 2023
USD ($)
|
||||||||||||
Disclosure Of Summary Of Significant Accounting Policies [Line Items] | |||||||||||||||||
Fair value of companies investment percentage | 99.20% | 99.20% | |||||||||||||||
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 | $ 26,251,000 | $ 46,102,000 | $ 26,251,000 | $ 46,102,000 | $ 9,627,000 | $ 4,761,000 | |||||||||||
Cash and cash equivalents | 26,251,000 | [1],[2] | 26,251,000 | [1],[2] | 9,627,000 | [3],[4] | |||||||||||
Restricted cash | 0 | 0 | $ 0 | ||||||||||||||
Interest income | 1,500,000 | 1,500,000 | 3,000,000 | 5,500,000 | |||||||||||||
Dividend income | 500,000 | $ 300,000 | $ 1,300,000 | $ 500,000 | |||||||||||||
Debt security payment due | 90 days | ||||||||||||||||
Number of portfolio companies loans | Loan | 3 | 3 | |||||||||||||||
Number of portfolio companies equipment financing | Equipment | 1 | 2 | |||||||||||||||
Non accrual cost | $ 47,800,000 | $ 43,300,000 | |||||||||||||||
Fair value | 15,600,000 | $ 15,600,000 | $ 12,700,000 | ||||||||||||||
Fair value of debt investment portfolio | 0.90% | 0.80% | |||||||||||||||
Debt instrument percentage | 6.00% | ||||||||||||||||
Investment percentage | 15.90% | 16.40% | |||||||||||||||
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% | ||||||||||||||||
Goldman Sachs Financial Square Government Institutional Fund | |||||||||||||||||
Disclosure Of Summary Of Significant Accounting Policies [Line Items] | |||||||||||||||||
Cash and cash equivalents | $ 2,000,000 | $ 2,000,000 | $ 3,800,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% | ||||||||||||||||
|