XML 53 R44.htm IDEA: XBRL DOCUMENT v3.22.2.2
Investments - Summary of Cash Equivalents, and Short term Investments (Details) - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost $ 383,674  
Short-term investments, fair value 381,142  
Total, amortized cost 383,674 $ 531,430
Total, gross unrealized gains 2 3
Total, gross unrealized losses (2,534) (437)
Total, fair value 381,142 530,996
Short-term Investments    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 306,454 247,259
Short-term investments, gross unrealized gains 1 3
Short-term investments, gross unrealized losses (2,532) (432)
Short-term investments, fair value 303,923 246,830
Asset-backed securities    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 25,311 12,915
Short-term investments, gross unrealized gains 0 1
Short-term investments, gross unrealized losses (163) (11)
Short-term investments, fair value 25,148 12,905
Certificate of deposits    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 16,291 12,076
Short-term investments, gross unrealized gains 0 0
Short-term investments, gross unrealized losses 0 0
Short-term investments, fair value 16,291 12,076
Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 48,961 30,691
Short-term investments, gross unrealized gains 0 0
Short-term investments, gross unrealized losses 0 0
Short-term investments, fair value 48,961 30,691
Corporate bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 205,047 179,235
Short-term investments, gross unrealized gains 1 1
Short-term investments, gross unrealized losses (2,315) (410)
Short-term investments, fair value 202,733 178,826
Foreign government bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 1,446 458
Short-term investments, gross unrealized gains 0 0
Short-term investments, gross unrealized losses (5) (1)
Short-term investments, fair value 1,441 457
Mortgage-backed securities    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 723  
Short-term investments, gross unrealized gains 0  
Short-term investments, gross unrealized losses (3)  
Short-term investments, fair value 720  
Municipal bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 361 8,418
Short-term investments, gross unrealized gains 0 1
Short-term investments, gross unrealized losses (2) (2)
Short-term investments, fair value 359 8,417
U.S. government bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 8,314 2,966
Short-term investments, gross unrealized gains 0 0
Short-term investments, gross unrealized losses (44) (8)
Short-term investments, fair value 8,270 2,958
Variable rate demand notes    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost   500
Short-term investments, gross unrealized gains   0
Short-term investments, gross unrealized losses   0
Short-term investments, fair value   500
Cash equivalents    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents, amortized cost 77,220 284,171
Cash equivalents, gross unrealized gains 1 0
Cash equivalents, gross unrealized losses (2) (5)
Cash equivalent, fair value 77,219 284,166
Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents, amortized cost 11,668 5,499
Cash equivalents, gross unrealized gains 0 0
Cash equivalents, gross unrealized losses 0 0
Cash equivalent, fair value 11,668 5,499
Corporate bonds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents, amortized cost 2,830 4,921
Cash equivalents, gross unrealized gains 0 0
Cash equivalents, gross unrealized losses (2) (5)
Cash equivalent, fair value 2,828 4,916
Money market funds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents, amortized cost 55,238 269,251
Cash equivalents, gross unrealized gains 0 0
Cash equivalents, gross unrealized losses 0 0
Cash equivalent, fair value 55,238 269,251
Municipal bonds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents, amortized cost   500
Cash equivalents, gross unrealized gains   0
Cash equivalents, gross unrealized losses   0
Cash equivalent, fair value   500
U.S. government bonds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents, amortized cost 7,484 4,000
Cash equivalents, gross unrealized gains 1 0
Cash equivalents, gross unrealized losses 0 0
Cash equivalent, fair value 7,485 4,000
Level 1    
Debt Securities, Available-for-sale [Line Items]    
Total, fair value 87,284 288,285
Level 1 | Short-term Investments    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 24,561 15,034
Level 1 | Asset-backed securities    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 0 0
Level 1 | Certificate of deposits    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 16,291 12,076
Level 1 | Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 0 0
Level 1 | Corporate bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 0 0
Level 1 | Foreign government bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 0 0
Level 1 | Mortgage-backed securities    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 0  
Level 1 | Municipal bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 0 0
Level 1 | U.S. government bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 8,270 2,958
Level 1 | Variable rate demand notes    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value   0
Level 1 | Cash equivalents    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value 62,723 273,251
Level 1 | Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value 0 0
Level 1 | Corporate bonds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value 0 0
Level 1 | Money market funds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value 55,238 269,251
Level 1 | Municipal bonds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value   0
Level 1 | U.S. government bonds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value 7,485 4,000
Level 2    
Debt Securities, Available-for-sale [Line Items]    
Total, fair value 293,858 242,711
Level 2 | Short-term Investments    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 279,362 231,796
Level 2 | Asset-backed securities    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 25,148 12,905
Level 2 | Certificate of deposits    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 0 0
Level 2 | Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 48,961 30,691
Level 2 | Corporate bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 202,733 178,826
Level 2 | Foreign government bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 1,441 457
Level 2 | Mortgage-backed securities    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 720  
Level 2 | Municipal bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 359 8,417
Level 2 | U.S. government bonds    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value 0 0
Level 2 | Variable rate demand notes    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, fair value   500
Level 2 | Cash equivalents    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value 14,496 10,915
Level 2 | Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value 11,668 5,499
Level 2 | Corporate bonds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value 2,828 4,916
Level 2 | Money market funds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value 0 0
Level 2 | Municipal bonds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value   500
Level 2 | U.S. government bonds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalent, fair value $ 0 $ 0