Quarterly report pursuant to Section 13 or 15(d)

Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Assets Measured on Recurring Basis (Details)

v3.21.2
Fair Value Measurements - Assets Measured on Recurring Basis (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value $ 202,950 $ 67,546
Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 22,658 14,543
U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 51,560 21,340
Yankee bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 3,069  
Agency bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 17,635  
Municipal bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 12,472  
Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 26,467 14,538
Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 69,089 17,125
Fair Value, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total 484,376 281,686
Fair Value, Recurring | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents 263,880 209,141
Fair Value, Recurring | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents 17,546 3,999
Marketable securities, at fair value 22,658 14,543
Fair Value, Recurring | U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents   1,000
Marketable securities, at fair value 51,560 21,340
Fair Value, Recurring | Yankee bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 3,069  
Fair Value, Recurring | Agency bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 17,635  
Fair Value, Recurring | Municipal bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 12,472  
Fair Value, Recurring | Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 26,467 14,538
Fair Value, Recurring | Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 69,089 17,125
Level 1 | Fair Value, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total 348,616 231,481
Level 1 | Fair Value, Recurring | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents 263,880 209,141
Level 1 | Fair Value, Recurring | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents 0 0
Marketable securities, at fair value 0 0
Level 1 | Fair Value, Recurring | U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents   1,000
Marketable securities, at fair value 51,560 21,340
Level 1 | Fair Value, Recurring | Yankee bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 3,069  
Level 1 | Fair Value, Recurring | Agency bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 17,635  
Level 1 | Fair Value, Recurring | Municipal bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 12,472  
Level 1 | Fair Value, Recurring | Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 0 0
Level 1 | Fair Value, Recurring | Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 0 0
Level 2 | Fair Value, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total 135,760 50,205
Level 2 | Fair Value, Recurring | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents 0 0
Level 2 | Fair Value, Recurring | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents 17,546 3,999
Marketable securities, at fair value 22,658 14,543
Level 2 | Fair Value, Recurring | U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents   0
Marketable securities, at fair value 0 0
Level 2 | Fair Value, Recurring | Yankee bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 0  
Level 2 | Fair Value, Recurring | Agency bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 0  
Level 2 | Fair Value, Recurring | Municipal bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 0  
Level 2 | Fair Value, Recurring | Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 26,467 14,538
Level 2 | Fair Value, Recurring | Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 69,089 17,125
Level 3 | Fair Value, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total 0 0
Level 3 | Fair Value, Recurring | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents 0 0
Level 3 | Fair Value, Recurring | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents 0 0
Marketable securities, at fair value 0 0
Level 3 | Fair Value, Recurring | U.S. Treasury securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents   0
Marketable securities, at fair value 0 0
Level 3 | Fair Value, Recurring | Yankee bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 0  
Level 3 | Fair Value, Recurring | Agency bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 0  
Level 3 | Fair Value, Recurring | Municipal bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 0  
Level 3 | Fair Value, Recurring | Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value 0 0
Level 3 | Fair Value, Recurring | Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, at fair value $ 0 $ 0