v3.25.2
Fair Value Measurement - Amortized Cost and Fair Value (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2025
Dec. 31, 2024
Debt Securities, Available-for-Sale [Line Items]    
Cost $ 428,368 $ 403,082
Net Unrealized Gains (Losses) 139 29
Fair Value 428,507 403,111
Cash and Cash equivalents 309,333 286,757
Short-term Investments 68,111 73,978
Long-term Investments 51,063 42,376
Fair Value, Inputs, Level 1 | Fair Value, Recurring    
Debt Securities, Available-for-Sale [Line Items]    
Cost 134,709 141,662
Net Unrealized Gains (Losses) 2 6
Fair Value 134,711 141,668
Cash and Cash equivalents 128,586 134,937
Short-term Investments 6,125 6,731
Long-term Investments 0 0
Fair Value, Inputs, Level 2 | Fair Value, Recurring    
Debt Securities, Available-for-Sale [Line Items]    
Cost 113,728 109,600
Net Unrealized Gains (Losses) 137 23
Fair Value 113,865 109,623
Cash and Cash equivalents 816 0
Short-term Investments 61,986 67,247
Long-term Investments 51,063 42,376
Fair Value, Inputs, Level 3 | Fair Value, Recurring    
Debt Securities, Available-for-Sale [Line Items]    
Cost 0 0
Net Unrealized Gains (Losses) 0 0
Fair Value 0 0
Cash and Cash equivalents 0 0
Short-term Investments 0 0
Long-term Investments 0 0
Cash    
Debt Securities, Available-for-Sale [Line Items]    
Cost 179,931 151,820
Net Unrealized Gains (Losses) 0 0
Fair Value 179,931 151,820
Cash and Cash equivalents 179,931 151,820
Short-term Investments 0 0
Long-term Investments 0 0
Money market funds | Fair Value, Inputs, Level 1 | Fair Value, Recurring    
Debt Securities, Available-for-Sale [Line Items]    
Cost 126,444 133,739
Net Unrealized Gains (Losses) 0 0
Fair Value 126,444 133,739
Cash and Cash equivalents 126,444 133,739
Short-term Investments 0 0
Long-term Investments 0 0
Commercial paper | Fair Value, Inputs, Level 1 | Fair Value, Recurring    
Debt Securities, Available-for-Sale [Line Items]    
Cost 8,265 7,923
Net Unrealized Gains (Losses) 2 6
Fair Value 8,267 7,929
Cash and Cash equivalents 2,142 1,198
Short-term Investments 6,125 6,731
Long-term Investments 0 0
Certificates of deposit | Fair Value, Inputs, Level 2 | Fair Value, Recurring    
Debt Securities, Available-for-Sale [Line Items]    
Cost 21,532 23,291
Net Unrealized Gains (Losses) 8 13
Fair Value 21,540 23,304
Cash and Cash equivalents 816 0
Short-term Investments 20,724 23,304
Long-term Investments 0 0
U.S. Government and agency securities | Fair Value, Inputs, Level 2 | Fair Value, Recurring    
Debt Securities, Available-for-Sale [Line Items]    
Cost 50,395 45,668
Net Unrealized Gains (Losses) 67 (13)
Fair Value 50,462 45,655
Cash and Cash equivalents 0 0
Short-term Investments 22,194 23,660
Long-term Investments 28,268 21,995
Corporate bonds | Fair Value, Inputs, Level 2 | Fair Value, Recurring    
Debt Securities, Available-for-Sale [Line Items]    
Cost 41,801 40,641
Net Unrealized Gains (Losses) 62 23
Fair Value 41,863 40,664
Cash and Cash equivalents 0 0
Short-term Investments 19,068 20,283
Long-term Investments $ 22,795 $ 20,381