v3.22.0.1

Portfolio Loans Receivable - Outstanding Loan Commitments (Details) - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Off-balance sheet risk, allowance | $ 1,700 | $ 1,800
Commitments to Extend Credit |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Commitments to originate residential loans held for sale | 360,386 | 331,576
Letters of credit | 5,105 | 5,102
Commitments to Extend Credit | Commercial |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Commitments to originate residential loans held for sale | 45,135 | 50,877
Commitments to Extend Credit | Commercial | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Commitments to originate residential loans held for sale | 15,747 | 15,973
Commitments to Extend Credit | Commercial real estate | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Commitments to originate residential loans held for sale | 37,640 | 32,398
Commitments to Extend Credit | Residential real estate | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Commitments to originate residential loans held for sale | 17,225 | 20,848
Commitments to Extend Credit | Residential real estate | Home equity |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Commitments to originate residential loans held for sale | 118,518 | 118,843
Commitments to Extend Credit | Residential real estate | Loans Held For Sale |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Commitments to originate residential loans held for sale | 1,385 | 11,444
Commitments to Extend Credit | Consumer | Credit card |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Commitments to originate residential loans held for sale | 123,874 | 92,452
Commitments to Extend Credit | Consumer | Personal |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Commitments to originate residential loans held for sale | 2,247 | 185
Secured Balances | Consumer | Credit card |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Commitments to originate residential loans held for sale | $ 98,200 | $ 89,500

X
- Definition Off Balance Sheet Risk, Allowance + References No definition available. + Details
Name: | cbnk_OffBalanceSheetRiskAllowance
Namespace Prefix: | cbnk_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_AccountsNotesAndLoansReceivableLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Unused amount of commitments to extend credit to customers. + References No definition available. + Details
Name: | us-gaap_UnusedCommitmentsToExtendCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommitmentsToExtendCreditMember
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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialRealEstatePortfolioSegmentMember
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_HomeEquityLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=cbnk_SecuredBalancesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |