XML 24 R6.htm IDEA: XBRL DOCUMENT
v3.24.0.1

CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parentheticals) - $ / shares | 3 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Investment Company [Abstract] |  |
Net investment income (in USD per share) | $ 0.25 | $ 0.21

X
- Definition Investment Company, Distribution to Shareholders from Net Investment Income, Per Share + References No definition available. + Details
Name: | glad_InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare
Namespace Prefix: | glad_
Data Type: | dtr-types1:perShareItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_InvestmentCompanyAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration