XML 44 R33.htm IDEA: XBRL DOCUMENT
v3.21.2

Cash and Cash Equivalents, and Investments - Schedule of Available For Sale Securities (Details) - USD ($) $ in Thousands | Jun. 30, 2021 | Dec. 31, 2020
--- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | $ 2,513,266 |
Fair Value | 2,513,553 |
Cash and cash equivalents: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 840,056 | $ 479,853
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 840,056 | 479,853
Short-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 1,221,089 | 664,119
Unrealized Gain | 707 | 1,502
Unrealized Loss | (130) | (54)
Fair Value | 1,221,666 | 665,567
Long-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 485,143 | 523,270
Unrealized Gain | 76 | 641
Unrealized Loss | (366) | (283)
Fair Value | 484,853 | 523,628
Commercial paper | Short-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 514,715 | 204,152
Unrealized Gain | 120 | 24
Unrealized Loss | 0 | (6)
Fair Value | 514,835 | 204,170
Corporate debt securities | Short-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 690,873 | 459,967
Unrealized Gain | 566 | 1,478
Unrealized Loss | (130) | (48)
Fair Value | 691,309 | 461,397
Corporate debt securities | Long-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 476,143 | 484,275
Unrealized Gain | 75 | 605
Unrealized Loss | (366) | (283)
Fair Value | 475,852 | 484,597
Agency bonds | Short-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 15,501 |
Unrealized Gain | 21 |
Unrealized Loss | 0 |
Fair Value | 15,522 |
Agency bonds | Long-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 9,000 | 38,995
Unrealized Gain | 1 | 36
Unrealized Loss | 0 | 0
Fair Value | 9,001 | 39,031
Cash | Cash and cash equivalents: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 33,022 | 15,054
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 33,022 | 15,054
Money market funds | Cash and cash equivalents: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 807,034 | 464,799
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | $ 807,034 | $ 464,799

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121558606&loc=SL82898722-210454 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121558606&loc=SL82898722-210454 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121553693&loc=d3e26610-111562 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_ShortTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_OtherLongTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_UnderlyingAssetClassAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_UnderlyingAssetClassAxis=us-gaap_CorporateBondSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_UnderlyingAssetClassAxis=us-gaap_AgencySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_CashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |