v3.19.1

Stock-Based Compensation - Restricted Stock Vesting Schedule (Details) - Restricted Stock - shares | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
--- | --- | --- | ---
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
2019 | 18,500 |  |
2020 | 5,500 |  |
2021 | 5,500 |  |
2022 | 5,500 |  |
2023 | 3,000 |  |
Nonvested restricted stock | 38,000 | 42,000 | 52,000

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 Five + References No definition available. + Details
Name: | cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearFive
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 Four + References No definition available. + Details
Name: | cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearFour
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=109197908&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: |