v3.22.2.2

Portfolio Loans Receivable - Trouble Debt Restructuring (Details) $ in Thousands | 3 Months Ended | 9 Months Ended | 12 Months Ended
--- | --- | --- | ---
Sep. 30, 2022 USD ($) segment | Sep. 30, 2021 USD ($) segment | Sep. 30, 2022 USD ($) segment contract | Sep. 30, 2021 USD ($) segment | Dec. 31, 2021 USD ($) segment contract
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |  |
Number of Contracts | contract |  |  | 5 |  | 5
Recorded Investment | $ 507 |  | $ 507 |  | $ 533
Residential | Real estate: |  |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |  |
Number of Contracts | contract |  |  | 4 |  | 4
Recorded Investment | $ 437 |  | $ 437 |  | $ 450
Residential | Real estate: | New T D R Member |  |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |  |
Number of Contracts | segment | 0 | 0 | 0 | 1 |
Recorded Investment |  | $ 319 |  | $ 319 |
Commercial and Industrial |  |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |  |
Number of Contracts | segment |  |  | 1 |  | 1
Recorded Investment | $ 70 |  | $ 70 |  | $ 83
Commercial and Industrial | Paid Off T D R Member |  |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |  |
Number of Contracts | segment |  |  |  | 1 |
Recorded Investment |  | $ 200 |  | $ 200 |
Performing |  |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |  |
Recorded Investment | 0 |  | 0 |  | 0
Performing | Residential | Real estate: |  |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |  |
Recorded Investment | 0 |  | 0 |  | 0
Performing | Commercial and Industrial |  |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |  |
Recorded Investment | 0 |  | 0 |  | 0
Nonperforming |  |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |  |
Recorded Investment | 507 |  | 507 |  | 533
Nonperforming | Residential | Real estate: |  |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |  |
Recorded Investment | 437 |  | 437 |  | 450
Nonperforming | Commercial and Industrial |  |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |  |
Recorded Investment | $ 70 |  | $ 70 |  | $ 83

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://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI https://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsNumberOfContracts2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of financing receivable modified as troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI https://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=121585226&loc=d3e18845-111554 + Details
Name: | us-gaap_FinancingReceivableModificationsRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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: | cbnk_FinancingReceivableModificationStatusAxisAxis=cbnk_NewTDRMemberMember
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: | cbnk_FinancingReceivableModificationStatusAxisAxis=cbnk_PaidOffTDRMemberMember
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: |