XML 47 R36.htm IDEA: XBRL DOCUMENT
v3.21.2

Cash and Cash Equivalents, and Investments - Schedule of Available For Sale Securities (Details) - USD ($) $ in Thousands | Sep. 30, 2021 | Dec. 31, 2020
--- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | $ 2,536,512 |
Fair Value | 2,536,344 |
Cash and cash equivalents: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 713,837 | $ 479,853
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 713,837 | 479,853
Short-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 1,038,124 | 664,119
Unrealized Gain | 347 | 1,502
Unrealized Loss | (126) | (54)
Fair Value | 1,038,345 | 665,567
Long-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 813,889 | 523,270
Unrealized Gain | 142 | 641
Unrealized Loss | (531) | (283)
Fair Value | 813,500 | 523,628
Commercial paper | Short-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 364,098 | 204,152
Unrealized Gain | 49 | 24
Unrealized Loss | (4) | (6)
Fair Value | 364,143 | 204,170
Corporate debt securities | Short-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 658,525 | 459,967
Unrealized Gain | 280 | 1,478
Unrealized Loss | (122) | (48)
Fair Value | 658,683 | 461,397
Corporate debt securities | Long-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 813,889 | 484,275
Unrealized Gain | 142 | 605
Unrealized Loss | (531) | (283)
Fair Value | 813,500 | 484,597
Agency bonds | Short-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 15,501 |
Unrealized Gain | 18 |
Unrealized Loss | 0 |
Fair Value | 15,519 |
Agency bonds | Long-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost |  | 38,995
Unrealized Gain |  | 36
Unrealized Loss |  | 0
Fair Value |  | 39,031
Cash | Cash and cash equivalents: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 29,338 | 15,054
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 29,338 | 15,054
Money market funds | Cash and cash equivalents: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 684,499 | 464,799
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | $ 684,499 | $ 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=123581744&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=123581744&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=123581744&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=124258926&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=124258926&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=124260329&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=123581744&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: |