XML 45 R35.htm IDEA: XBRL DOCUMENT
v3.22.4

ORGANIZATION (Details) | Dec. 31, 2022
--- | ---
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.20%
Investment portfolio, equity investments, actual percent | 22.80%

X
- Definition Investment Portfolio, Debt Investments, Actual Percent + References No definition available. + Details
Name: | gain_InvestmentPortfolioDebtInvestmentsActualPercent
Namespace Prefix: | gain_
Data Type: | dtr-types: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-types: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-types: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-types: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