XML 129 R66.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

FEDERAL AND STATE INCOME TAXES (Details) - USD ($) | 12 Months Ended
--- | ---
Mar. 31, 2024 | Dec. 31, 2023 | Mar. 31, 2023 | Dec. 31, 2022 | Mar. 31, 2022 | Dec. 31, 2021
Investments, Owned, Federal Income Tax Note [Line Items] |  |  |  |  |  |
Investment company, target percentage of taxable income to distribute to shareholders (up to) | 100.00% |  |  |  |  |
Income tax expense (benefit) | $ 0 |  | $ 0 |  | $ 0 |
Investment company, percentage of ordinary income distribution | 98.00% |  |  |  |  |
Investment company, percentage of net capital gains distribution | 98.20% |  |  |  |  |
Excise tax |  | $ 1,200,000 |  | $ 1,300,000 |  | $ 700,000
Capital Loss Carryforward |  |  |  |  |  |
Investments, Owned, Federal Income Tax Note [Line Items] |  |  |  |  |  |
Capital loss carryforwards | $ 0 |  | $ 0 |  |  |

X
- Definition Investment Company, Excise Tax + References No definition available. + Details
Name: | gain_InvestmentCompanyExciseTax
Namespace Prefix: | gain_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Investment Company, Percentage Of Net Capital Gains Distribution + References No definition available. + Details
Name: | gain_InvestmentCompanyPercentageOfNetCapitalGainsDistribution
Namespace Prefix: | gain_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Investment Company, Percentage Of Ordinary Income Distribution + References No definition available. + Details
Name: | gain_InvestmentCompanyPercentageOfOrdinaryIncomeDistribution
Namespace Prefix: | gain_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Investment Company, Target Percentage Of Taxable Income To Distribute To Shareholders + References No definition available. + Details
Name: | gain_InvestmentCompanyTargetPercentageOfTaxableIncomeToDistributeToShareholders
Namespace Prefix: | gain_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483443/250-10-50-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483443/250-10-50-9 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-10 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 6.I.7) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479360/740-10-S99-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-22 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(9)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483586/944-220-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Subparagraph (a) -SubTopic 20 -Topic 740 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482659/740-20-45-2 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)) -SubTopic 10 -Topic 235 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of accumulated undistributed deficit from capital loss carryforward of investment company. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480990/946-20-50-12 + Details
Name: | us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedCapitalLossCarryforward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(h)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479886/946-10-S99-3 + Details
Name: | us-gaap_InvestmentsOwnedFederalIncomeTaxNoteLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_TaxCreditCarryforwardAxis=us-gaap_CapitalLossCarryforwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |