XML 46 R36.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Cash and Cash Equivalents, and Investments and Fair Value Measurements - Schedule of Available For Sale Securities (Details) - USD ($) $ in Thousands | Sep. 30, 2022 | Dec. 31, 2021
--- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | $ 1,213,526 |
Fair Value | 1,192,407 |
Cash and cash equivalents: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 69,349 | $ 854,078
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 69,349 | 854,078
Cash and cash equivalents: | Cash |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 35,131 | 30,324
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 35,131 | 30,324
Cash and cash equivalents: | Money market funds | Level 1 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 34,218 | 823,754
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 34,218 | 823,754
Short-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 886,612 | 692,320
Unrealized Gain | 0 | 40
Unrealized Loss | (15,204) | (579)
Fair Value | 871,408 | 691,781
Short-term investments: | Commercial paper | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 11,720 | 124,211
Unrealized Gain | 0 | 2
Unrealized Loss | (114) | (33)
Fair Value | 11,606 | 124,180
Short-term investments: | Corporate debt securities | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 770,221 | 552,609
Unrealized Gain |  | 36
Unrealized Loss | (12,945) | (546)
Fair Value | 757,276 | 552,099
Short-term investments: | U.S. treasury securities | Level 1 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 104,671 |
Unrealized Gain | 0 |
Unrealized Loss | (2,145) |
Fair Value | 102,526 |
Short-term investments: | Agency bonds | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost |  | 15,500
Unrealized Gain |  | 2
Unrealized Loss |  | 0
Fair Value |  | 15,502
Long-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 292,696 | 749,377
Unrealized Gain | 57 | 0
Unrealized Loss | (5,972) | (3,384)
Fair Value | 286,781 | 745,993
Long-term investments: | Corporate debt securities | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 156,687 | 724,517
Unrealized Gain | 0 | 0
Unrealized Loss | (4,065) | (3,277)
Fair Value | 152,622 | 721,240
Long-term investments: | U.S. treasury securities | Level 1 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 101,890 | 24,860
Unrealized Gain | 0 | 0
Unrealized Loss | (1,907) | (107)
Fair Value | 99,983 | $ 24,753
Long-term investments: | Agency bonds | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 34,119 |
Unrealized Gain | 57 |
Unrealized Loss | 0 |
Fair Value | $ 34,176 |

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 https://asc.fasb.org/extlink&oid=126970911&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 https://asc.fasb.org/extlink&oid=126970911&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 https://asc.fasb.org/extlink&oid=126970911&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 https://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 https://asc.fasb.org/extlink&oid=126897435&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 https://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 https://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 https://asc.fasb.org/extlink&oid=126970911&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_BalanceSheetLocationAxis=us-gaap_CashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=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_BalanceSheetLocationAxis=us-gaap_ShortTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=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_FinancialInstrumentAxis=us-gaap_CorporateBondSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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