XML 106 R87.htm IDEA: XBRL DOCUMENT
v3.25.1

SUBSEQUENT EVENTS (Details) |  | 3 Months Ended |  |  |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Apr. 25, 2025 $ / shares | Mar. 31, 2025 $ / shares | Apr. 17, 2025 USD ($) | Apr. 09, 2025 USD ($) lender | Apr. 08, 2025 USD ($) | Sep. 12, 2024 USD ($) | Sep. 11, 2024 USD ($) | Dec. 07, 2023 USD ($) | Dec. 06, 2023 USD ($) | Aug. 02, 2023 USD ($) | Aug. 01, 2023 USD ($)
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |
Dividends declared (in usd per share) | $ / shares |  | $ 0.64 |  |  |  |  |  |  |  |  |
Corporate Credit Facility | Corporate Credit Facility | Line of Credit |  |  |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |
Accordion feature increase limit |  |  |  |  |  | $ 25,000,000 |  | $ 25,000,000 |  | $ 750,000,000 |
Maximum borrowing capacity |  |  |  |  |  | $ 485,000,000 | $ 460,000,000 | $ 460,000,000 | $ 435,000,000 | $ 435,000,000 | $ 400,000,000
Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |
Dividends declared (in usd per share) | $ / shares | $ 0.64 |  |  |  |  |  |  |  |  |  |
Subsequent Event | O 2026 Q1 Dividends |  |  |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |
Dividends declared (in usd per share) | $ / shares | 0.58 |  |  |  |  |  |  |  |  |  |
Subsequent Event | S 2026 Q1 Dividends |  |  |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |
Dividends declared (in usd per share) | $ / shares | $ 0.06 |  |  |  |  |  |  |  |  |  |
Subsequent Event | Corporate Credit Facility | Corporate Credit Facility | Line of Credit |  |  |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |
Accordion feature increase limit |  |  |  | $ 25,000,000 |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  | $ 510,000,000 | $ 485,000,000 |  |  |  |  |  |
Number of existing lenders | lender |  |  |  | 2 |  |  |  |  |  |  |
Subsequent Event | SBA Debentures | Unsecured Debt | SBIC II |  |  |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |
Regulatory maximum borrowing capacity |  |  | $ 175,000,000 |  |  |  |  |  |  |  |
Regulatory capital |  |  | $ 87,500,000 |  |  |  |  |  |  |  |

X
- Definition Debt Instrument, Regulatory Maximum Borrowing Capacity + References No definition available. + Details
Name: | cswc_DebtInstrumentRegulatoryMaximumBorrowingCapacity
Namespace Prefix: | cswc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line of Credit Facility, Accordion Feature, Increase Limit + References No definition available. + Details
Name: | cswc_LineOfCreditFacilityAccordionFeatureIncreaseLimit
Namespace Prefix: | cswc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number Of Existing Lenders + References No definition available. + Details
Name: | cswc_NumberOfExistingLenders
Namespace Prefix: | cswc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Regulatory Capital + References No definition available. + Details
Name: | cswc_RegulatoryCapital
Namespace Prefix: | cswc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_CommonStockDividendsPerShareDeclared
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_DebtInstrumentAxis=cswc_CorporateCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cswc_SmallBusinessAdministrationDebenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_UnsecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=cswc_SBICIIMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |