XML 45 R34.htm IDEA: XBRL DOCUMENT v3.21.2
Fair Value Measurements - Schedule of Assets Measured at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Marketable securities $ 319,509 $ 427,729
Fair Value, Recurring    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Restricted cash 1,589 1,589
Total 367,307 459,760
Fair Value, Recurring | Money Market Fund    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Cash equivalents 46,209 19,943
Fair Value, Recurring | Corporate Bonds    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Cash equivalents   10,499
Short-term investments 68,228 72,923
Long-term investments 23,138 29,942
Fair Value, Recurring | US Treasuries    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Short-term investments 205,976 192,275
Long-term investments 22,167 132,589
Fair Value, Recurring | Level 1    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Restricted cash 1,589 1,589
Total 275,941 346,396
Fair Value, Recurring | Level 1 | Money Market Fund    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Cash equivalents 46,209 19,943
Fair Value, Recurring | Level 1 | US Treasuries    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Short-term investments 205,976 192,275
Long-term investments 22,167 132,589
Fair Value, Recurring | Level 2    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Total 91,366 113,364
Fair Value, Recurring | Level 2 | Corporate Bonds    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Cash equivalents   10,499
Short-term investments 68,228 72,923
Long-term investments $ 23,138 $ 29,942