XML 17 R6.htm IDEA: XBRL DOCUMENT
v3.25.2

CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parenthetical) - $ / shares | 3 Months Ended
--- | ---
Jun. 30, 2025 | Jun. 30, 2024
Investment Company [Abstract] |  |  |
Net investment income (loss) (in USD per share) | [1] | $ 0.27 | $ 0.24
Gain (loss) on investment (in USD per share) | [1] | $ 0.51 | $ 0
[1] | Refer to Note 8 — Distributions to Common Stockholders in the accompanying Notes to Consolidated Financial Statements for additional information.

X
- Definition Investment Company, Distribution To Shareholders From Net Investment Income, Per Share + References No definition available. + Details
Name: | gain_InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare
Namespace Prefix: | gain_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Distribution To Shareholders From Net Realized Gains, Per Share + References No definition available. + Details
Name: | gain_InvestmentCompanyDistributionToShareholdersFromNetRealizedGainsPerShare
Namespace Prefix: | gain_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_InvestmentCompanyAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration