XML 17 R6.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parenthetical) - $ / shares | 3 Months Ended
--- | ---
Jun. 30, 2024 | Jun. 30, 2023
Investment Company [Abstract] |  |  |
Net investment income (loss) (in USD per share) | [1] | $ 0.24 | $ 0.21
Gain (loss) on investment (in USD per share) | [1] | $ 0.00 | $ 0.15
[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-types1: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-types1: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