v3.23.2
Short-term Investments - Unrealized Gain (Loss) on Short-Term Investments (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost $ 433,682 $ 447,827
Unrealized Gain 4 47
Unrealized Loss (1,332) (7,016)
Short-term investments 432,354 440,858
U.S. treasury securities    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 251,806 384,951
Unrealized Gain 0 0
Unrealized Loss (1,201) (6,949)
Short-term investments 250,605 378,002
U.S. agency securities    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 68,403 29,012
Unrealized Gain 3 47
Unrealized Loss (64) 0
Short-term investments 68,342 29,059
Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 28,262 28,815
Unrealized Gain 1 0
Unrealized Loss 0 0
Short-term investments 28,263 28,815
Asset-backed securities    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 11,705  
Unrealized Gain 0  
Unrealized Loss (39)  
Short-term investments 11,666  
Corporate debt securities    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 11,013 5,049
Unrealized Gain 0 0
Unrealized Loss (28) (67)
Short-term investments 10,985 $ 4,982
Certificate of deposits    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 62,493  
Unrealized Gain 0  
Unrealized Loss 0  
Short-term investments $ 62,493