Quarterly report pursuant to Section 13 or 15(d)

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

v3.22.2.2
Fair Value Measurements - Assets and Liabilities Measured on a Recurring Basis (Details) - USD ($)
$ in Thousands
9 Months Ended 12 Months Ended
Sep. 30, 2022
Dec. 31, 2021
Financial assets:    
Total financial assets $ 376,644 $ 466,078
Cash, cash equivalents and restricted cash    
Financial assets:    
Total financial assets 86,052 231,900
U.S. agency security    
Financial assets:    
Total financial assets 4,904  
Certificates of deposit    
Financial assets:    
Total financial assets   3,140
Corporate bond    
Financial assets:    
Total financial assets 98,068 21,820
Commercial paper    
Financial assets:    
Total financial assets 112,633 206,724
Treasury bill    
Financial assets:    
Total financial assets 26,704 2,494
Treasury bond    
Financial assets:    
Total financial assets 44,553  
Yankee bond    
Financial assets:    
Total financial assets 3,730  
Level 1    
Financial assets:    
Total financial assets $ 198,685 $ 438,624
Derivative, average remaining maturity 7 months 8 months
Level 1 | Cash, cash equivalents and restricted cash    
Financial assets:    
Total financial assets $ 86,052 $ 231,900
Level 1 | U.S. agency security    
Financial assets:    
Total financial assets 0  
Level 1 | Certificates of deposit    
Financial assets:    
Total financial assets   0
Level 1 | Corporate bond    
Financial assets:    
Total financial assets 0 0
Level 1 | Commercial paper    
Financial assets:    
Total financial assets 112,633 206,724
Level 1 | Treasury bill    
Financial assets:    
Total financial assets 0 0
Level 1 | Treasury bond    
Financial assets:    
Total financial assets 0  
Level 1 | Yankee bond    
Financial assets:    
Total financial assets 0  
Level 2    
Financial assets:    
Total financial assets $ 177,959 $ 27,454
Derivative, average remaining maturity 7 months 8 months
Level 2 | Cash, cash equivalents and restricted cash    
Financial assets:    
Total financial assets $ 0 $ 0
Level 2 | U.S. agency security    
Financial assets:    
Total financial assets 4,904  
Level 2 | Certificates of deposit    
Financial assets:    
Total financial assets   3,140
Level 2 | Corporate bond    
Financial assets:    
Total financial assets 98,068 21,820
Level 2 | Commercial paper    
Financial assets:    
Total financial assets 0 0
Level 2 | Treasury bill    
Financial assets:    
Total financial assets 26,704 2,494
Level 2 | Treasury bond    
Financial assets:    
Total financial assets 44,553  
Level 2 | Yankee bond    
Financial assets:    
Total financial assets 3,730  
Level 3    
Financial assets:    
Total financial assets 0 0
Level 3 | Cash, cash equivalents and restricted cash    
Financial assets:    
Total financial assets 0 0
Level 3 | U.S. agency security    
Financial assets:    
Total financial assets 0  
Level 3 | Certificates of deposit    
Financial assets:    
Total financial assets   0
Level 3 | Corporate bond    
Financial assets:    
Total financial assets 0 0
Level 3 | Commercial paper    
Financial assets:    
Total financial assets 0 0
Level 3 | Treasury bill    
Financial assets:    
Total financial assets 0 $ 0
Level 3 | Treasury bond    
Financial assets:    
Total financial assets 0  
Level 3 | Yankee bond    
Financial assets:    
Total financial assets $ 0