XML 45 R35.htm IDEA: XBRL DOCUMENT
v3.22.1

Cash and Cash Equivalents, and Investments and Fair Value Measurements - Schedule of Available For Sale Securities (Details) - USD ($) $ in Thousands | Mar. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | $ 1,596,002 |
Fair Value | 1,579,162 |
Cash and cash equivalents: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 267,731 | $ 854,078
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 267,731 | 854,078
Short-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 922,358 | 692,320
Unrealized Gain | 9 | 40
Unrealized Loss | (6,936) | (579)
Fair Value | 915,431 | 691,781
Long-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 445,326 | 749,377
Unrealized Gain | 0 | 0
Unrealized Loss | (9,913) | (3,384)
Fair Value | 435,413 | 745,993
Commercial paper | Short-term investments: | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 86,583 | 124,211
Unrealized Gain | 0 | 2
Unrealized Loss | (443) | (33)
Fair Value | 86,140 | 124,180
Corporate debt securities | Short-term investments: | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 765,556 | 552,609
Unrealized Gain | 9 | 36
Unrealized Loss | (6,045) | (546)
Fair Value | 759,520 | 552,099
Corporate debt securities | Long-term investments: | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 346,032 | 724,517
Unrealized Gain | 0 | 0
Unrealized Loss | (7,939) | (3,277)
Fair Value | 338,093 | 721,240
U.S. treasury securities | Short-term investments: | Level 1 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 54,718 |
Unrealized Gain | 0 |
Unrealized Loss | (436) |
Fair Value | 54,282 |
U.S. treasury securities | Long-term investments: | Level 1 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 99,294 | 24,860
Unrealized Gain | 0 | 0
Unrealized Loss | (1,974) | (107)
Fair Value | 97,320 | 24,753
Agency bonds | Short-term investments: | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 15,501 | 15,500
Unrealized Gain | 0 | 2
Unrealized Loss | (12) | 0
Fair Value | 15,489 | 15,502
Cash | Cash and cash equivalents: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 39,413 | 30,324
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 39,413 | 30,324
Money market funds | Cash and cash equivalents: | Level 1 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 228,318 | 823,754
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | $ 228,318 | $ 823,754

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