| Name | DebtSecuritiesTradingRealizedGainLoss |
|---|---|
| Namespace | http://fasb.org/us-gaap/2020-01-31 |
| Prefix | us-gaap |
| Data type | xbrli:monetaryItemType |
| Period type | duration |
| Substitution Group | xbrli:item |
| Balance | credit |
| Nillable | True |
| Abstract | False |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Debt Securities, Trading, Realized Gain (Loss) | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Debt Securities, Trading, Realized Gain (Loss), Total | en-US | http://www.xbrl.org/2003/role/totalLabel | http://www.xbrl.org/2003/role/link |
| Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in net income (trading). | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| Publisher | FASB | http://fasb.org/us-gaap/role/ref/legacyRef |
| Name | Accounting Standards Codification | http://fasb.org/us-gaap/role/ref/legacyRef |
| Topic | 220 | http://fasb.org/us-gaap/role/ref/legacyRef |
| SubTopic | 10 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Section | S99 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Paragraph | 2 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Subparagraph | (SX 210.5-03(7)(c)) | http://fasb.org/us-gaap/role/ref/legacyRef |
| URI | http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 | http://fasb.org/us-gaap/role/ref/legacyRef |