XML 83 R64.htm IDEA: XBRL DOCUMENT
v3.25.1

INCOME TAXES - Schedule of Distributions (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Income Tax Disclosure [Abstract] |  |
Ordinary income | $ 118,216 | $ 94,139
Distributions of long term capital gains | 0 | 0
Distributions on tax basis | $ 118,216 | $ 94,139

X
- Definition Investment Company, Tax Dividend Distribution + References No definition available. + Details
Name: | cswc_InvestmentCompanyTaxDividendDistribution
Namespace Prefix: | cswc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount of dividend distribution by investment company from long-term capital gain. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480990/946-20-50-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-5 + Details
Name: | us-gaap_InvestmentCompanyDistributionLongTermCapitalGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of dividend distribution by investment company from ordinary income. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480990/946-20-50-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-5 + Details
Name: | us-gaap_InvestmentCompanyDistributionOrdinaryIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration