XML 16 R6.htm IDEA: XBRL DOCUMENT
v3.22.2.2

CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parentheticals) - $ / shares | 3 Months Ended | 6 Months Ended
--- | --- | ---
Sep. 30, 2022 | Jun. 30, 2022 | Sep. 30, 2021 | Jun. 30, 2021 | Sep. 30, 2022 | Sep. 30, 2021
Statement of Stockholders' Equity [Abstract] |  |  |  |  |  |
Net investment income (loss) (in USD per share) | $ 0.14 | $ 0.10 | $ 0.16 | $ 0.20 | $ 0.24 | $ 0.36
Gain (loss) on investment (in USD per share) | $ 0.08 | $ 0.25 | $ 0.08 | $ 0.07 | $ 0.33 | $ 0.15

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 Realized Gains, Per Share + References No definition available. + Details
Name: | gain_InvestmentCompanyDistributionToShareholdersFromRealizedGainsPerShare
Namespace Prefix: | gain_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

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