v3.19.1

Loans Receivable - Trouble Debt Restructuring (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2018 USD ($) contract | Dec. 31, 2017 USD ($) contract
Financing Receivable, Modifications [Line Items] |  |
Number of Contracts | contract | 4 | 9
Performing | $ 284 | $ 3,811
Number of loans charged off | contract | 3 |
Charged off loan amount | $ 291 |
Acquired loans |  |
Financing Receivable, Modifications [Line Items] |  |
Number of Contracts | contract | 3 | 4
Performing | $ 145 | $ 151
Residential | Real estate: |  |
Financing Receivable, Modifications [Line Items] |  |
Number of Contracts | contract | 3 | 5
Performing | $ 145 | $ 254
Commercial |  |
Financing Receivable, Modifications [Line Items] |  |
Number of Contracts | contract | 1 | 3
Performing | $ 139 | $ 848
Commercial | Real estate: |  |
Financing Receivable, Modifications [Line Items] |  |
Number of Contracts | contract |  | 1
Performing |  | $ 2,709
Performing |  |
Financing Receivable, Modifications [Line Items] |  |
Performing | $ 0 | 3,219
Number of loans paid off | contract | 2 |
Loans paid off, amount | $ 3,200 |
Performing | Acquired loans |  |
Financing Receivable, Modifications [Line Items] |  |
Performing | 0 | 0
Performing | Residential | Real estate: |  |
Financing Receivable, Modifications [Line Items] |  |
Performing | 0 | 0
Performing | Commercial |  |
Financing Receivable, Modifications [Line Items] |  |
Performing | 0 | 510
Performing | Commercial | Real estate: |  |
Financing Receivable, Modifications [Line Items] |  |
Performing |  | 2,709
Nonperforming |  |
Financing Receivable, Modifications [Line Items] |  |
Performing | 284 | 592
Nonperforming | Acquired loans |  |
Financing Receivable, Modifications [Line Items] |  |
Performing | 145 | 151
Nonperforming | Residential | Real estate: |  |
Financing Receivable, Modifications [Line Items] |  |
Performing | 145 | 254
Nonperforming | Commercial |  |
Financing Receivable, Modifications [Line Items] |  |
Performing | $ 139 | 338
Nonperforming | Commercial | Real estate: |  |
Financing Receivable, Modifications [Line Items] |  |
Performing |  | $ 0

X
- Definition Financing Receivable, Modifications, Number of Contracts Charged Off + References No definition available. + Details
Name: | cbnk_FinancingReceivableModificationsNumberofContractsChargedOff
Namespace Prefix: | cbnk_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Modifications, Number of Contracts Paid Off + References No definition available. + Details
Name: | cbnk_FinancingReceivableModificationsNumberofContractsPaidOff
Namespace Prefix: | cbnk_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivables, Troubled Debt Restructuring, Paid Off + References No definition available. + Details
Name: | cbnk_FinancingReceivablesTroubledDebtRestructuringPaidOff
Namespace Prefix: | cbnk_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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_FinancingReceivableModificationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of financing receivables that have been modified by troubled debt restructurings. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsNumberOfContracts2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=82895541&loc=d3e18845-111554 + Details
Name: | us-gaap_FinancingReceivableModificationsRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Reflects the amount of the write-down related to a troubled debt restructuring. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=82895541&loc=d3e18845-111554 + Details
Name: | us-gaap_FinancingReceivablesImpairedTroubledDebtRestructuringWriteDown
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=cbnk_AcquiredLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentPerformanceStatusAxis=us-gaap_PerformingFinancingReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentPerformanceStatusAxis=us-gaap_NonperformingFinancingReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |