v3.21.2
Cash, Cash Equivalents and Investments - Summary of Cash Equivalents and Investments (Details) - USD ($)
$ in Thousands
Sep. 30, 2021
Dec. 31, 2020
Debt Securities, Available-for-sale [Line Items]    
Gross Unrealized Gains $ 6 $ 15
Gross Unrealized Losses (19) (23)
Investments, amortized cost 99,818 131,360
Investments, fair value 99,805 131,352
Corporate bonds and commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Gross Unrealized Gains 3 15
Gross Unrealized Losses (9) (9)
Investments, amortized cost 36,472 31,233
Investments, fair value 36,466 31,239
Certificates of deposit    
Debt Securities, Available-for-sale [Line Items]    
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Investments, amortized cost 12,161 10,007
Investments, fair value 12,161 10,007
U.S. government securities    
Debt Securities, Available-for-sale [Line Items]    
Gross Unrealized Gains 3 0
Gross Unrealized Losses (10) (14)
Investments, amortized cost 51,185 90,120
Investments, fair value 51,178 90,106
Money market funds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents, amortized cost 176,144 188,469
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Cash equivalents, fair value 176,144 188,469
Certificates of deposit    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents, amortized cost 25,076 25,028
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Cash equivalents, fair value 25,076 25,028
Corporate bonds and commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents, amortized cost   997
Gross Unrealized Gains   0
Gross Unrealized Losses   (1)
Cash equivalents, fair value   996
U.S. government securities    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents, amortized cost   19,999
Gross Unrealized Gains   0
Gross Unrealized Losses   0
Cash equivalents, fair value   19,999
Cash    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents, amortized cost 201,220 234,493
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 (1)
Cash equivalents, fair value $ 201,220 $ 234,492