v3.24.1.1.u2

Portfolio Loans Receivable and Allowance for Credit Losses - Activity in Allowance for Loan Losses (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2024 | Mar. 31, 2023
Financing Receivable, Allowance for Credit Loss [Roll Forward] |  |
Beginning balance | $ 28,610 | $ 27,189
Provision for (release of) credit losses on unfunded commitments | 2,727 | 1,660
Ending balance | 29,350 | 26,216
Unfunded Lines of Credit |  |
Financing Receivable, Allowance for Credit Loss [Roll Forward] |  |
Beginning balance | 806 | 1,682
Provision for (release of) credit losses on unfunded commitments | 142 | (19)
Ending balance | 948 | 888
Unfunded Lines of Credit | Cumulative effect adjustment due to adoption of the CECL standard |  |
Financing Receivable, Allowance for Credit Loss [Roll Forward] |  |
Beginning balance | 0 | (775)
Mortgage Loans Sold |  |
Financing Receivable, Allowance for Credit Loss [Roll Forward] |  |
Beginning balance | 985 | 1,174
Provision for (release of) credit losses on unfunded commitments | 13 | 5
Ending balance | $ 998 | $ 1,179

X
- Definition Amount excluding accrued interest, of allowance for credit loss on financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479344/326-20-45-1 + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, excluding accrued interest, of credit loss expense (reversal of expense) on financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-13 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | srt_CumulativeEffectPeriodOfAdoptionAxis=srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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