XML 46 R36.htm IDEA: XBRL DOCUMENT v3.22.2
Cash and Cash Equivalents, and Investments and Fair Value Measurements - Schedule of Available For Sale Securities (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost $ 1,622,394  
Fair Value 1,603,221  
Cash and cash equivalents:    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost 402,122 $ 854,078
Unrealized Gain 0 0
Unrealized Loss (33) 0
Fair Value 402,089 854,078
Short-term investments:    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost 992,806 692,320
Unrealized Gain 10 40
Unrealized Loss (11,528) (579)
Fair Value 981,288 691,781
Long-term investments:    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost 273,351 749,377
Unrealized Gain 8 0
Unrealized Loss (7,630) (3,384)
Fair Value 265,729 745,993
Commercial paper | Short-term investments: | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost 81,649 124,211
Unrealized Gain 0 2
Unrealized Loss (382) (33)
Fair Value 81,267 124,180
Corporate debt securities | Short-term investments: | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost 831,482 552,609
Unrealized Gain 10 36
Unrealized Loss (9,889) (546)
Fair Value 821,603 552,099
Corporate debt securities | Long-term investments: | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost 198,816 724,517
Unrealized Gain 8 0
Unrealized Loss (5,582) (3,277)
Fair Value 193,242 721,240
U.S. treasury securities | Short-term investments: | Level 1    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost 79,675  
Unrealized Gain 0  
Unrealized Loss (1,257)  
Fair Value 78,418  
U.S. treasury securities | Long-term investments: | Level 1    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost 74,535 24,860
Unrealized Gain 0 0
Unrealized Loss (2,048) (107)
Fair Value 72,487 24,753
Agency bonds | Short-term investments: | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost   15,500
Unrealized Gain   2
Unrealized Loss   0
Fair Value   15,502
Cash | Cash and cash equivalents:    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost 45,885 30,324
Unrealized Gain 0 0
Unrealized Loss 0 0
Fair Value 45,885 30,324
Money market funds | Cash and cash equivalents: | Level 1    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost 199,003 823,754
Unrealized Gain 0 0
Unrealized Loss 0 0
Fair Value 199,003 $ 823,754
Commercial paper | Cash and cash equivalents: | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Adjusted Cost 157,234  
Unrealized Gain 0  
Unrealized Loss (33)  
Fair Value $ 157,201