XML 185 R34.htm IDEA: XBRL DOCUMENT
v3.25.0.1

ORGANIZATION (Details) | Dec. 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 | 76.30%
Investment portfolio, equity investments, actual percent | 23.70%

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