v3.22.0.1

Stock-Based Compensation - Restricted Stock Vesting Schedule (Details) - Restricted Stock - shares | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | ---
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
2022 (in shares) | 20,874 |  |
2023 (in shares) | 18,374 |  |
2024 (in shares) | 9,799 |  |
Nonvested restricted stock (in shares) | 49,047 | 30,713 | 19,500

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Vesting Next Twelve Months + References No definition available. + Details
Name: | cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingNextTwelveMonths
Namespace Prefix: | cbnk_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Vesting Year Three + References No definition available. + Details
Name: | cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearThree
Namespace Prefix: | cbnk_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Vesting Year Two + References No definition available. + Details
Name: | cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearTwo
Namespace Prefix: | cbnk_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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 No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |