| Name | DebtSecuritiesAvailableForSaleRealizedGainLoss |
|---|---|
| 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, Available-for-sale, Realized Gain (Loss) | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Debt Securities, Available-for-sale, 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 other comprehensive income (available-for-sale). | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| PublishDate | 2020-01 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| Source | Taxonomy Implementation Guide | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| SourceName | Financial Instruments-Debt Securities | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| pdfURI | https://www.fasb.org/debtsecurities_2019 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| PublishDate | 2018-01 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| Positive_XBRL_Value | Enter a positive XBRL value for gain. | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| Negative_XBRL_Value | Enter a negative XBRL value for loss. | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| SourceName | Financial Instruments-Recognition and Measurement | http://fasb.org/srt/role/changeNote/changeNote |
| TaxonomyVersion | 2018 | http://fasb.org/srt/role/changeNote/changeNote |
| ChangeDate | 2017-08 | http://fasb.org/srt/role/changeNote/changeNote |
| NewElement | true | http://fasb.org/srt/role/changeNote/changeNote |
| Source_ASU_Number | 2016-01 | http://fasb.org/srt/role/changeNote/changeNote |
| Publisher | FASB | http://www.xbrl.org/2009/role/commonPracticeRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2009/role/commonPracticeRef |
| Topic | 320 | http://www.xbrl.org/2009/role/commonPracticeRef |
| SubTopic | 10 | http://www.xbrl.org/2009/role/commonPracticeRef |
| Section | 50 | http://www.xbrl.org/2009/role/commonPracticeRef |
| Paragraph | 9 | http://www.xbrl.org/2009/role/commonPracticeRef |
| Subparagraph | (a) | http://www.xbrl.org/2009/role/commonPracticeRef |
| URI | http://asc.fasb.org/extlink&oid=121645371&loc=d3e27357-111563 | http://www.xbrl.org/2009/role/commonPracticeRef |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtSecuritiesAvailableForSaleRealizedGain | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesTmp03 | |
us-gaap:DebtSecuritiesAvailableForSaleRealizedLoss | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesTmp03 | |
us-gaap:DebtSecuritiesAvailableForSaleRealizedGain | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities | |
us-gaap:DebtSecuritiesAvailableForSaleRealizedLoss | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities |