XML 46 R35.htm IDEA: XBRL DOCUMENT v3.22.2
Fair Value Measurements and Available for Sale Investments - Available-for-sale Investments (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2022
Dec. 31, 2021
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost $ 507,580 $ 119,680
Gross Unrealized Gains 57 2
Gross Unrealized Losses (3,710) (217)
Total Fair Value 503,927 119,465
Short-term investments 370,450 52,368
Long-term investments 129,985 67,097
Agency securities    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 36,442 5,821
Gross Unrealized Gains 7 0
Gross Unrealized Losses (499) (7)
Total Fair Value 35,950 5,814
Short-term investments 13,300 1,000
Long-term investments $ 22,700 $ 4,800
Agency securities | Minimum    
Debt Securities, Available-for-sale [Line Items]    
Remaining maturity (in years) 1 year 1 year
Agency securities | Maximum    
Debt Securities, Available-for-sale [Line Items]    
Remaining maturity (in years) 2 years 2 years
Certificates of deposit    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost $ 3,401 $ 3,770
Gross Unrealized Gains 0 0
Gross Unrealized Losses (62) (4)
Total Fair Value 3,339 3,766
Short-term investments 1,400 1,300
Long-term investments $ 1,900 $ 2,500
Certificates of deposit | Minimum    
Debt Securities, Available-for-sale [Line Items]    
Remaining maturity (in years) 1 year 1 year
Certificates of deposit | Maximum    
Debt Securities, Available-for-sale [Line Items]    
Remaining maturity (in years) 2 years 2 years
Commercial and corporate obligations    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost $ 56,688 $ 22,094
Gross Unrealized Gains 6 2
Gross Unrealized Losses (633) (42)
Total Fair Value 56,061 22,054
Short-term investments 28,500 4,800
Long-term investments $ 27,600 $ 17,300
Commercial and corporate obligations | Minimum    
Debt Securities, Available-for-sale [Line Items]    
Remaining maturity (in years) 1 year 1 year
Commercial and corporate obligations | Maximum    
Debt Securities, Available-for-sale [Line Items]    
Remaining maturity (in years) 2 years 2 years
US Treasury Securities    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost $ 411,049 $ 87,995
Gross Unrealized Gains 44 0
Gross Unrealized Losses (2,516) (164)
Total Fair Value 408,577 87,831
Short-term investments 330,700 45,300
Long-term investments $ 77,900 $ 42,500
US Treasury Securities | Minimum    
Debt Securities, Available-for-sale [Line Items]    
Remaining maturity (in years) 1 year 1 year
US Treasury Securities | Maximum    
Debt Securities, Available-for-sale [Line Items]    
Remaining maturity (in years) 2 years 2 years