Quarterly report pursuant to Section 13 or 15(d)

Fair value measurements (Details)

v3.22.2
Fair value measurements (Details) - USD ($)
Jun. 30, 2022
Dec. 31, 2021
Marketable securities:    
Available-for-sale securities, Debt Securities, Current, Total $ 160,278,000 $ 219,632,000
Recurring basis    
Marketable securities:    
Available-for-sale securities, Debt Securities, Current, Total 160,278,000  
Recurring basis | Corporate debt securities    
Marketable securities:    
Available-for-sale securities, Debt Securities, Current, Total 113,386,000  
Recurring basis | U.S. Treasury securities    
Marketable securities:    
Available-for-sale securities, Debt Securities, Current, Total 42,022,000  
Recurring basis | Agency bonds    
Marketable securities:    
Available-for-sale securities, Debt Securities, Current, Total 4,870,000  
Recurring basis | Level 1    
Marketable securities:    
Available-for-sale securities, Debt Securities, Current, Total 113,386,000  
Recurring basis | Level 1 | Corporate debt securities    
Marketable securities:    
Available-for-sale securities, Debt Securities, Current, Total 113,386,000  
Recurring basis | Level 2    
Marketable securities:    
Available-for-sale securities, Debt Securities, Current, Total 46,892,000  
Recurring basis | Level 2 | U.S. Treasury securities    
Marketable securities:    
Available-for-sale securities, Debt Securities, Current, Total 42,022,000  
Recurring basis | Level 2 | Agency bonds    
Marketable securities:    
Available-for-sale securities, Debt Securities, Current, Total $ 4,870,000