XML 75 R62.htm IDEA: XBRL DOCUMENT v3.22.4
Cash and Cash Equivalents, and Investments and Fair Value Measurements - Schedule of Investments (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost $ 1,245,622  
Fair Value 1,240,351  
Cash and cash equivalents:    
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost 473,677 $ 854,078
Unrealized Gain 0 0
Unrealized Loss 0 0
Fair Value 473,677 854,078
Cash and cash equivalents: | Cash    
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost 33,532 30,324
Unrealized Gain 0 0
Unrealized Loss 0 0
Fair Value 33,532 30,324
Cash and cash equivalents: | Money market funds | Level 1    
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost 440,145 823,754
Unrealized Gain 0 0
Unrealized Loss 0 0
Fair Value 440,145 823,754
Short-term investments:    
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost 588,474 692,320
Unrealized Gain 0 40
Unrealized Loss (4,501) (579)
Fair Value 583,973 691,781
Short-term investments: | Commercial paper | Level 2    
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost 11,744 124,211
Unrealized Gain 0 2
Unrealized Loss (29) (33)
Fair Value 11,715 124,180
Short-term investments: | Corporate debt securities | Level 2    
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost 491,459 552,609
Unrealized Gain 0 36
Unrealized Loss (4,130) (546)
Fair Value 487,329 552,099
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
Short-term investments: | U.S. treasury securities | Level 1    
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost 85,271  
Unrealized Gain 0  
Unrealized Loss (342)  
Fair Value 84,929  
Long-term investments:    
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost 217,003 749,377
Unrealized Gain 280 0
Unrealized Loss (1,050) (3,384)
Fair Value 216,233 745,993
Long-term investments: | Corporate debt securities | Level 2    
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost 125,735 724,517
Unrealized Gain 158 0
Unrealized Loss (909) (3,277)
Fair Value 124,984 721,240
Long-term investments: | Agency bonds    
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost 60,635  
Unrealized Gain 0  
Unrealized Loss (141)  
Fair Value 60,494  
Long-term investments: | U.S. treasury securities | Level 1    
Schedule Of Available For Sale Securities [Line Items]    
Adjusted Cost 30,633 24,860
Unrealized Gain 122 0
Unrealized Loss 0 (107)
Fair Value $ 30,755 $ 24,753