Quarterly report pursuant to Section 13 or 15(d)

Fair Value Considerations - Fair Value Hierarchy (Details)

v3.20.2
Fair Value Considerations - Fair Value Hierarchy (Details) - Recurring - USD ($)
$ in Thousands
Sep. 30, 2020
Dec. 31, 2019
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets $ 78,238 $ 87,597
Total liabilities 2,633  
Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 39,112 26,812
U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 4,520 4,544
Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 6,441 17,754
Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 28,165 24,679
Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets   13,808
Debt derivative liability    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total liabilities 2,450  
Common stock derivative option liability    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total liabilities 183  
Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 43,632 31,356
Quoted Prices in Active Markets for Identical Assets (Level 1) | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 39,112 26,812
Quoted Prices in Active Markets for Identical Assets (Level 1) | U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 4,520 4,544
Significant Other Observable Inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 34,606 56,241
Significant Other Observable Inputs (Level 2) | Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 6,441 17,754
Significant Other Observable Inputs (Level 2) | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 28,165 24,679
Significant Other Observable Inputs (Level 2) | Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets   $ 13,808
Significant Other Unobservable Inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total liabilities 2,633  
Significant Other Unobservable Inputs (Level 3) | Debt derivative liability    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total liabilities 2,450  
Significant Other Unobservable Inputs (Level 3) | Common stock derivative option liability    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total liabilities $ 183