XML 209 R58.htm IDEA: XBRL DOCUMENT
v3.25.0.1

SUBSEQUENT EVENTS - Distributions to Common Stockholders (Details) - Subsequent Event | 1 Months Ended
--- | ---
Jan. 31, 2025 $ / shares
Subsequent Event [Line Items] |
Distribution per common share (in USD per share) | $ 0.24
O 2025 M1 Dividends |
Subsequent Event [Line Items] |
Distribution per common share (in USD per share) | 0.08
O 2025 M2 Dividends |
Subsequent Event [Line Items] |
Distribution per common share (in USD per share) | 0.08
O 2025 M3 Dividends |
Subsequent Event [Line Items] |
Distribution per common share (in USD per share) | $ 0.08

X
- Definition Common Stock, Dividends, Per Share, Declared, Ordinary + References No definition available. + Details
Name: | gain_CommonStockDividendsPerShareDeclaredOrdinary
Namespace Prefix: | gain_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481674/830-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 855 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483399/855-10-50-2 + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DividendsAxis=gain_O2025M1DividendsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DividendsAxis=gain_O2025M2DividendsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DividendsAxis=gain_O2025M3DividendsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |