XML 77 R62.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Cash and Cash Equivalents, and Investments and Fair Value Measurements - Schedule of Investments (Details) - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost | $ 2,265,451 |
Fair Value | 2,261,528 |
Cash and cash equivalents: |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost | 854,078 | $ 479,853
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 854,078 | 479,853
Cash and cash equivalents: | Cash |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost | 30,324 | 15,054
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 30,324 | 15,054
Cash and cash equivalents: | Money market funds | Level 1 |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost | 823,754 | 464,799
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 823,754 | 464,799
Short-term investments: |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost | 692,320 | 664,119
Unrealized Gain | 40 | 1,502
Unrealized Loss | (579) | (54)
Fair Value | 691,781 | 665,567
Short-term investments: | Commercial paper | Level 2 |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost | 124,211 | 204,152
Unrealized Gain | 2 | 24
Unrealized Loss | (33) | (6)
Fair Value | 124,180 | 204,170
Short-term investments: | Corporate debt securities | Level 2 |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost | 552,609 | 459,967
Unrealized Gain | 36 | 1,478
Unrealized Loss | (546) | (48)
Fair Value | 552,099 | 461,397
Short-term investments: | Agency bonds | Level 2 |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost | 15,500 |
Unrealized Gain | 2 |
Unrealized Loss | 0 |
Fair Value | 15,502 |
Long-term investments: |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost | 749,377 | 523,270
Unrealized Gain | 0 | 641
Unrealized Loss | (3,384) | (283)
Fair Value | 745,993 | 523,628
Long-term investments: | Corporate debt securities | Level 2 |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost | 724,517 | 484,275
Unrealized Gain | 0 | 605
Unrealized Loss | (3,277) | (283)
Fair Value | 721,240 | 484,597
Long-term investments: | Agency bonds | Level 2 |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost |  | 38,995
Unrealized Gain |  | 36
Unrealized Loss |  | 0
Fair Value |  | $ 39,031
Long-term investments: | U.S. treasury securities | Level 1 |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Adjusted Cost | 24,860 |
Unrealized Gain | 0 |
Unrealized Loss | (107) |
Fair Value | $ 24,753 |

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_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: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
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_UnderlyingAssetClassAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
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_InvestmentTypeAxis=us-gaap_OtherLongTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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