XML 49 R39.htm IDEA: XBRL DOCUMENT
v3.24.0.1

INVESTMENTS - Narrative (Details) $ in Thousands | 1 Months Ended | 3 Months Ended | 6 Months Ended | 9 Months Ended |
--- | --- | --- | --- | --- | ---
Oct. 31, 2023 USD ($) | Sep. 30, 2023 USD ($) | Aug. 31, 2023 USD ($) | Jun. 30, 2023 USD ($) | May 31, 2023 USD ($) | Dec. 31, 2023 USD ($) portfolioCompany industry state | Dec. 31, 2022 USD ($) | Sep. 30, 2022 USD ($) | Sep. 30, 2022 USD ($) | Dec. 31, 2023 USD ($) portfolioCompany industry state | Dec. 31, 2022 USD ($) | Mar. 31, 2023 USD ($)
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  |  |  |  |  |  |  |  |  | $ 182,988 | $ 133,506 |  |
Dividend income |  |  |  |  |  | $ 0 | $ 4,466 |  |  | 1,907 | 10,847 |  |
Cost |  |  |  |  |  | 868,504 |  |  |  | 868,504 |  | $ 720,630 | [1]
Success fee income |  |  |  |  |  | $ 1,382 | $ 1,061 |  |  | 1,382 | 7,794 |  |
Principal repayments of investments |  |  |  |  |  |  |  |  |  | $ 27,500 | $ 50,300 |  |
Number of investment portfolio company | portfolioCompany |  |  |  |  |  | 25 |  |  |  | 25 |  |  |
Number of states which have invested in the company location | state |  |  |  |  |  | 18 |  |  |  | 18 |  |  |
Number of industries that have made investments | industry |  |  |  |  |  | 16 |  |  |  | 16 |  |  |
Fair Value |  |  |  |  |  | $ 902,808 |  |  |  | $ 902,808 |  | 753,543 | [1]
Uncollectible receivables allowance, minimum required day for uncollectible adjustment |  |  |  |  |  |  |  |  |  | 90 days |  |  |
Gross receivables from portfolio companies |  |  |  |  |  | 2,300 |  |  |  | $ 2,300 |  | 2,200 |
Allowance for uncollectible receivables |  |  |  |  |  | 1,600 |  |  |  | 1,600 |  |  |
Five Largest Portfolio Investments | Investment Portfolio Benchmark | Customer Concentration Risk |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Fair Value |  |  |  |  |  | 380,900 |  |  |  | $ 380,900 |  |  |
Concentration risk, percentage |  |  |  |  |  |  |  |  |  | 42.20% |  |  |
Secured First Lien Debt |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Cost |  |  |  |  |  | 517,539 |  |  |  | $ 517,539 |  | 471,439 |
Fair Value |  |  |  |  |  | 476,126 |  |  |  | 476,126 |  | 437,517 |
Preferred Equity |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Cost |  |  |  |  |  | 151,969 |  |  |  | 151,969 |  | 149,099 |
Fair Value |  |  |  |  |  | 214,664 |  |  |  | 214,664 |  | 222,585 |
Secured Second Lien Debt |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Cost |  |  |  |  |  | 148,158 |  |  |  | 148,158 |  | 84,158 |
Fair Value |  |  |  |  |  | 137,480 |  |  |  | 137,480 |  | 75,734 |
Common Equity/ Equivalents |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Cost |  |  |  |  |  | 50,838 |  |  |  | 50,838 |  | 15,934 |
Fair Value |  |  |  |  |  | $ 74,538 |  |  |  | 74,538 |  | $ 17,707 |
Home Concepts Acquisition, Inc |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  |  |  |  | $ 15,300 |  |  |  |  |  |  |  |
Home Concepts Acquisition, Inc | Secured First Lien Debt |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  |  |  |  | 12,000 |  |  |  |  |  |  |  |
Home Concepts Acquisition, Inc | Preferred Equity |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  |  |  |  | $ 3,300 |  |  |  |  |  |  |  |
Old World Christmas, Inc. |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  |  |  | $ 2,500 |  |  |  |  |  |  |  |  |
Proceeds from equity |  |  |  | 2,200 |  |  |  |  |  |  |  |  |
Dividend income |  |  |  | 1,900 |  |  |  |  |  |  |  |  |
Realized gain on preferred equity |  |  |  | 300 |  |  |  | $ 13,400 | $ 13,400 | $ 300 |  |  |
Nth Degree Investment Group, LLC |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  |  |  | 30,000 |  |  |  |  |  |  |  |  |
Nth Degree Investment Group, LLC | Secured Second Lien Debt |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  |  |  | 25,000 |  |  |  |  |  |  |  |  |
Nth Degree Investment Group, LLC | Common Equity/ Equivalents |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  |  |  | 5,000 |  |  |  |  |  |  |  |  |
Specialty Knives & Tools, LLC |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Realized gain on preferred equity |  |  |  | 900 |  |  |  |  |  |  |  |  |
Net proceeds from the sale of investments |  |  |  | 1,500 |  |  |  |  |  |  |  |  |
Cost |  |  |  | $ 600 |  |  |  |  |  |  |  |  |
Nocturne Villa Rentals, Inc. |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  |  | $ 18,700 |  |  |  |  |  |  |  |  |  |
The E3 Company, LLC |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  | $ 46,000 |  |  |  |  |  |  |  |  |  |  |
The E3 Company, LLC | Secured First Lien Debt |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  | 34,800 |  |  |  |  |  |  |  |  |  |  |
The E3 Company, LLC | Preferred Equity |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments |  | $ 11,200 |  |  |  |  |  |  |  |  |  |  |
SFEG Holdings, Inc |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments | $ 64,700 |  |  |  |  |  |  |  |  |  |  |  |
Cost | 4,800 |  |  |  |  |  |  |  |  |  |  |  |
Fair Value | 8,600 |  |  |  |  |  |  |  |  |  |  |  |
SFEG Holdings, Inc | Secured Second Lien Debt |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments | 39,000 |  |  |  |  |  |  |  |  |  |  |  |
SFEG Holdings, Inc | Common Equity/ Equivalents |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of investments | 25,700 |  |  |  |  |  |  |  |  |  |  |  |
Counsel Press, Inc., |  |  |  |  |  |  |  |  |  |  |  |  |
Summary of Investment Holdings [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Realized gain on preferred equity | 43,500 |  |  |  |  |  |  |  |  |  |  |  |
Success fee income | 1,400 |  |  |  |  |  |  |  |  |  |  |  |
Principal repayments of investments | $ 27,500 |  |  |  |  |  |  |  |  |  |  |  |
[1] | Cumulative gross unrealized appreciation for federal income tax purposes is $150.4 million; cumulative gross unrealized depreciation for federal income tax purposes is $119.3 million. Cumulative net unrealized appreciation is $31.1 million, based on a tax cost of $722.4 million.

X
- Definition Investment Company, Allowance For Uncollectible Receivables + References No definition available. + Details
Name: | gain_InvestmentCompanyAllowanceForUncollectibleReceivables
Namespace Prefix: | gain_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Investment Company, Gross Receivables From Portfolio Companies + References No definition available. + Details
Name: | gain_InvestmentCompanyGrossReceivablesFromPortfolioCompanies
Namespace Prefix: | gain_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number Of Industries Invested In + References No definition available. + Details
Name: | gain_NumberOfIndustriesInvestedIn
Namespace Prefix: | gain_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Investment Portfolio Company + References No definition available. + Details
Name: | gain_NumberOfInvestmentPortfolioCompany
Namespace Prefix: | gain_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of States Where Portfolio Company Investments Are Located + References No definition available. + Details
Name: | gain_NumberOfStatesWherePortfolioCompanyInvestmentsAreLocated
Namespace Prefix: | gain_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Proceeds From Principal Repayments Of Investments, Operating Activity + References No definition available. + Details
Name: | gain_ProceedsFromPrincipalRepaymentsOfInvestmentsOperatingActivity
Namespace Prefix: | gain_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Uncollectible Receivables Allowance, Minimum Required Day For Uncollectible Adjustment + References No definition available. + Details
Name: | gain_UncollectibleReceivablesAllowanceMinimumRequiredDayForUncollectibleAdjustment
Namespace Prefix: | gain_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-42 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-21 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-20 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482861/275-10-50-18 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482861/275-10-50-20 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of dividend income from investment paid in cash, classified as operating. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column E)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column E)(Footnote 6)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 + Details
Name: | us-gaap_DividendIncomeOperatingPaidInCash
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(10)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483586/944-220-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 21D -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-21D Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(12)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_EquityMethodInvestmentDividendsOrDistributions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of realized gain (loss) from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483586/944-220-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 321 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479536/321-10-50-4 + Details
Name: | us-gaap_EquitySecuritiesFvNiRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of fee income including, but not limited to, managerial assistance, servicing of investment, and origination and commitment fees. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(1)(c)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 + Details
Name: | us-gaap_FeeIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Cost of the investment. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 55 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480493/946-210-55-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480167/946-830-55-12 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(d)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479886/946-10-S99-3 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(a)(3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(a)(3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 5)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 19 -Subparagraph (3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-19 + Details
Name: | us-gaap_InvestmentOwnedAtCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in security owned. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 55 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480493/946-210-55-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-2 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480167/946-830-55-12 Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(11)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(d)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479886/946-10-S99-3 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(2)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(2)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-1 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-1 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 5)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-1 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 6)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-1 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 6)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 9)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(5)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 + Details
Name: | us-gaap_InvestmentOwnedAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of cash outflow for acquisition of investment, classified as operating activity. Includes, but is not limited to, funding, origination, drawdown, and participation in investment. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 230 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480369/946-230-45-1 + Details
Name: | us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash inflow from sale of investment, classified as operating activity. Includes, but is not limited to, repayment, principal payment, paydown, and maturity of investment. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 230 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480369/946-230-45-1 + Details
Name: | us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-12 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 55 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480493/946-210-55-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480990/946-20-50-9 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (g)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (g)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483580/946-220-50-3 + Details
Name: | us-gaap_SummaryOfInvestmentHoldingsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_MajorCustomersAxis=gain_FiveLargestPortfolioInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=gain_InvestmentPortfolioBenchmarkMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_CustomerConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=gain_DebtSecuritiesSecuredFirstLienDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=gain_PreferredEquityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=gain_DebtSecuritiesSecuredSecondLienDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=gain_CommonEquityEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=gain_HomeConceptsAcquisitionIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=gain_OldWorldChristmasIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=gain_NthDegreeInvestmentGroupLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=gain_SpecialtyKnivesToolsLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=gain_NocturneVillaRentalsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=gain_TheE3CompanyLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=gain_SFEGHoldingsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=gain_CounselPressIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |