| Name | DebtSecuritiesCurrent |
|---|---|
| Namespace | http://fasb.org/us-gaap/2020-01-31 |
| Prefix | us-gaap |
| Data type | xbrli:monetaryItemType |
| Period type | instant |
| Substitution Group | xbrli:item |
| Balance | debit |
| Nillable | True |
| Abstract | False |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Debt Securities, Current | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Debt Securities, Current, Total | en-US | http://www.xbrl.org/2003/role/totalLabel | http://www.xbrl.org/2003/role/link |
| Amount of investment in debt security measured at amortized cost (held-to-maturity), investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and investment in debt security measured at fair value with change in fair value recognized in net income (trading); classified as current. | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| 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 |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:TradingSecuritiesDebt | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionClassified | |
us-gaap:AvailableForSaleSecuritiesDebtSecuritiesCurrent | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionClassified | |
us-gaap:HeldToMaturitySecuritiesCurrent | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionClassified |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtSecuritiesCurrentAbstract | parent-child | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionClassified-RealEstateOperations | |
us-gaap:DebtSecuritiesCurrentAbstract | domain-member | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionClassified-RealEstateOperationsStatementTable | |
us-gaap:DebtSecuritiesCurrentAbstract | parent-child | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionClassified | |
us-gaap:ShortTermInvestments | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionClassified | |
us-gaap:DebtSecuritiesCurrentAbstract | domain-member | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionClassifiedStatementTable |