XML 103 R40.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

ORGANIZATION (Details) | Mar. 31, 2024
--- | ---
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 | 77.00%
Investment portfolio, equity investments, actual percent | 23.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