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

CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parenthetical) - $ / shares | 3 Months Ended | 6 Months Ended
--- | --- | ---
Sep. 30, 2023 | [1] | Jun. 30, 2023 | [1] | Sep. 30, 2022 | [1] | Jun. 30, 2022 | [1] | Sep. 30, 2023 | Sep. 30, 2022
Investment Company [Abstract] |  |  |  |  |  |
Net investment income (loss) (in USD per share) | $ 0.20 | $ 0.21 | $ 0.14 | $ 0.10 | $ 0.41 | $ 0.24
Gain (loss) on investment (in USD per share) | $ 0.16 | $ 0.15 | $ 0.08 | $ 0.25 | $ 0.31 | $ 0.33
[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 Realized Gains, Per Share + References No definition available. + Details
Name: | gain_InvestmentCompanyDistributionToShareholdersFromRealizedGainsPerShare
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