XML 45 R33.htm IDEA: XBRL DOCUMENT v3.20.4
Fair Value Measurements - Schedule of Financial Assets Measured on a Recurring Basis (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities $ 103,353 $ 319,074
U.S. Treasury Bills and Government Agency Obligations    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 20,276 140,626
U.S. Corporate Debt Securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 11,547 80,170
Foreign Corporate Debt Securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 15,557 23,203
U.S. Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 13,997 32,801
Fair Value, Recurring    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total 208,491 390,972
Fair Value, Recurring | Foreign Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 83,966 57,241
Fair Value, Recurring | U.S. Treasury Bills and Government Agency Obligations    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 20,276 140,626
Fair Value, Recurring | U.S. Corporate Debt Securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 11,547 80,170
Fair Value, Recurring | Foreign Corporate Debt Securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 15,557 23,203
Fair Value, Recurring | U.S. Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 27,996 32,801
Fair Value, Recurring | Cash and Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Cash and money market funds 49,149 56,931
Fair Value, Recurring | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total 49,149 197,557
Fair Value, Recurring | Quoted Prices in Active Markets for Identical Assets (Level 1) | U.S. Treasury Bills and Government Agency Obligations    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities   140,626
Fair Value, Recurring | Quoted Prices in Active Markets for Identical Assets (Level 1) | Cash and Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Cash and money market funds 49,149 56,931
Fair Value, Recurring | Significant Other Observable Inputs (Level 2)    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total 159,342 193,415
Fair Value, Recurring | Significant Other Observable Inputs (Level 2) | Foreign Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 83,966 57,241
Fair Value, Recurring | Significant Other Observable Inputs (Level 2) | U.S. Treasury Bills and Government Agency Obligations    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 20,276  
Fair Value, Recurring | Significant Other Observable Inputs (Level 2) | U.S. Corporate Debt Securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 11,547 80,170
Fair Value, Recurring | Significant Other Observable Inputs (Level 2) | Foreign Corporate Debt Securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities 15,557 23,203
Fair Value, Recurring | Significant Other Observable Inputs (Level 2) | U.S. Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Available-for-sale securities $ 27,996 $ 32,801