v3.22.0.1

Portfolio Loans Receivable - Activity in Allowance for Loan Losses (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Financing Receivable, Allowance for Credit Losses [Roll Forward] |  |
Beginning Balance | $ 23,434 |
Provision expense (release) | 3,359 | $ 11,242
Ending Balance | 25,181 | 23,434
Unfunded Lines of Credit |  |
Financing Receivable, Allowance for Credit Losses [Roll Forward] |  |
Beginning Balance | 1,776 | 1,226
Provision expense (release) | (40) | 550
Add: Recoveries | 0 | 0
Less: Charge-offs | 0 | 0
Ending Balance | 1,736 | 1,776
Mortgage Loans Sold |  |
Financing Receivable, Allowance for Credit Losses [Roll Forward] |  |
Beginning Balance | 1,160 | 576
Provision expense (release) | 4 | 598
Add: Recoveries | 0 | 0
Less: Charge-offs | 0 | (14)
Ending Balance | $ 1,164 | $ 1,160

X
- Definition Amount of recovery of loans and lease receivables which had previously been fully or partially written-off as bad debts. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -Subparagraph (c)(4) -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524 + Details
Name: | us-gaap_AllowanceForLoanAndLeaseLossRecoveryOfBadDebts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after recoveries, of loans and leases that have been written-off. + References No definition available. + Details
Name: | us-gaap_AllowanceForLoanAndLeaseLossesWriteoffsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of allowance for credit loss on financing receivable. Excludes allowance for financing receivable covered under loss sharing agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(7)(2)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (a) -Subparagraph (3) Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (c) Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (a) -Subparagraph (1) + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLosses
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 of credit loss expense (reversal of expense) for financing receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(11)) -URI http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 + Details
Name: | us-gaap_ProvisionForLoanLossesExpensed
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: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=cbnk_MortgageLoansSoldMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |