XML 44 R34.htm IDEA: XBRL DOCUMENT
v3.23.3

ORGANIZATION (Details) | Sep. 30, 2023
--- | ---
Organization, Consolidation and Presentation of Financial Statements [Abstract] |
Investment portfolio, debt investments, intended percent | 75.00%
Investment portfolio, equity investments, intended percent | 25.00%
Investment portfolio, debt investments, actual percent | 78.00%
Investment portfolio, equity investments, actual percent | 22.00%

X
- Definition Investment Portfolio, Debt Investments, Actual Percent + References No definition available. + Details
Name: | gain_InvestmentPortfolioDebtInvestmentsActualPercent
Namespace Prefix: | gain_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Investment Portfolio, Debt Investments, Intended Percent + References No definition available. + Details
Name: | gain_InvestmentPortfolioDebtInvestmentsIntendedPercent
Namespace Prefix: | gain_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Investment Portfolio, Equity Investments, Actual Percent + References No definition available. + Details
Name: | gain_InvestmentPortfolioEquityInvestmentsActualPercent
Namespace Prefix: | gain_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Investment Portfolio, Equity Investments, Intended Percent + References No definition available. + Details
Name: | gain_InvestmentPortfolioEquityInvestmentsIntendedPercent
Namespace Prefix: | gain_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

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