| Name | PrincipalOrProprietaryTransactionsMember |
|---|---|
| Namespace | http://fasb.org/us-gaap/2022 |
| Prefix | us-gaap |
| Data type | dtr-types:domainItemType |
| Period type | duration |
| Substitution Group | xbrli:item |
| Balance | None |
| Nillable | True |
| Abstract | True |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Principal or Proprietary Transactions [Member] | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Primary financial statement caption encompassing gain (loss) from trading activities on behalf of customers and from proprietary trading. | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| elementCreationTaxonomyVersion | 2009 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| Publisher | FASB | http://fasb.org/us-gaap/role/ref/legacyRef |
| Name | Accounting Standards Codification | http://fasb.org/us-gaap/role/ref/legacyRef |
| Topic | 815 | http://fasb.org/us-gaap/role/ref/legacyRef |
| SubTopic | 10 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Section | 50 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Paragraph | 4F | http://fasb.org/us-gaap/role/ref/legacyRef |
| Subparagraph | (a) | http://fasb.org/us-gaap/role/ref/legacyRef |
| URI | https://asc.fasb.org/extlink&oid=125515794&loc=SL5624186-113959 | http://fasb.org/us-gaap/role/ref/legacyRef |