XML 42 R32.htm IDEA: XBRL DOCUMENT
v3.23.1

Cash and Cash Equivalents, Investments and Fair Value Measurements - Schedule of Available For Sale Securities (Details) - USD ($) $ in Thousands | Mar. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | $ 1,143,095 |
Fair Value | 1,141,636 |
Cash and cash equivalents: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost |  | $ 473,677
Unrealized Gain |  | 0
Unrealized Loss |  | 0
Fair Value |  | 473,677
Cash and cash equivalents: | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 281,340 |
Unrealized Gain | 0 |
Unrealized Loss | (38) |
Fair Value | 281,302 |
Cash and cash equivalents: | Cash |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 31,393 | 33,532
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 31,393 | 33,532
Cash and cash equivalents: | Money market funds | Level 1 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 149,731 | 440,145
Unrealized Gain | 0 | 0
Unrealized Loss | 0 | 0
Fair Value | 149,731 | 440,145
Cash and cash equivalents: | Commercial paper | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 100,216 |
Unrealized Gain | 0 |
Unrealized Loss | (38) |
Fair Value | 100,178 |
Short-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost |  | 588,474
Unrealized Gain |  | 0
Unrealized Loss |  | (4,501)
Fair Value |  | 583,973
Short-term investments: | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 280,326 |
Unrealized Gain | 0 |
Unrealized Loss | (2,462) |
Fair Value | 277,864 |
Short-term investments: | Commercial paper | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost |  | 11,744
Unrealized Gain |  | 0
Unrealized Loss |  | (29)
Fair Value |  | 11,715
Short-term investments: | Corporate debt securities | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 214,883 | 491,459
Unrealized Gain | 0 | 0
Unrealized Loss | (2,435) | (4,130)
Fair Value | 212,448 | 487,329
Short-term investments: | U.S. treasury securities | Level 1 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 30,190 | 85,271
Unrealized Gain | 0 | 0
Unrealized Loss | (21) | (342)
Fair Value | 30,169 | 84,929
Short-term investments: | Agency bonds | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 35,253 |
Unrealized Gain | 0 |
Unrealized Loss | (6) |
Fair Value | 35,247 |
Long-term investments: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost |  | 217,003
Unrealized Gain |  | 280
Unrealized Loss |  | (1,050)
Fair Value |  | 216,233
Long-term investments: | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 612,822 |
Unrealized Gain | 1,547 |
Unrealized Loss | (506) |
Fair Value | 613,863 |
Long-term investments: | Corporate debt securities | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 364,729 | 125,735
Unrealized Gain | 1,003 | 158
Unrealized Loss | (366) | (909)
Fair Value | 365,366 | 124,984
Long-term investments: | U.S. treasury securities | Level 1 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 99,424 | 30,633
Unrealized Gain | 470 | 122
Unrealized Loss | (54) | 0
Fair Value | 99,840 | 30,755
Long-term investments: | Agency bonds | Level 2 |  |
Debt Securities, Available-for-sale [Line Items] |  |
Adjusted Cost | 148,669 | 60,635
Unrealized Gain | 74 | 0
Unrealized Loss | (86) | (141)
Fair Value | $ 148,657 | $ 60,494

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_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
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_FinancialInstrumentAxis=us-gaap_CommercialPaperMember
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_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: |