v3.24.2
Fair Value Measurement - Amortized Cost and Fair Value (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2024
Jun. 30, 2024
Dec. 31, 2023
Debt Securities, Available-for-Sale [Line Items]      
Cost $ 387,188 $ 387,188 $ 388,312
Net Unrealized Losses   (161) (15)
Fair Value 387,027 387,027 388,297
Cash and Cash equivalents 269,439 269,439 278,218
Short-term Investments 91,266 91,266 84,331
Long-term Investments 26,322 26,322 25,748
Non-cash impairment charges 500 500  
Fair Value, Inputs, Level 1 | Fair Value, Recurring      
Debt Securities, Available-for-Sale [Line Items]      
Cost 153,368 153,368 164,060
Net Unrealized Losses   (3) 11
Fair Value 153,365 153,365 164,071
Cash and Cash equivalents 141,336 141,336 147,652
Short-term Investments 12,029 12,029 16,419
Long-term Investments 0 0 0
Fair Value, Inputs, Level 2 | Fair Value, Recurring      
Debt Securities, Available-for-Sale [Line Items]      
Cost 105,717 105,717 93,686
Net Unrealized Losses   (158) (26)
Fair Value 105,559 105,559 93,660
Cash and Cash equivalents 0 0 0
Short-term Investments 79,237 79,237 67,912
Long-term Investments 26,322 26,322 25,748
Fair Value, Inputs, Level 3 | Fair Value, Recurring      
Debt Securities, Available-for-Sale [Line Items]      
Cost 0 0 0
Net Unrealized Losses   0 0
Fair Value 0 0 0
Cash and Cash equivalents 0 0 0
Short-term Investments 0 0 0
Long-term Investments 0 0 0
Cash      
Debt Securities, Available-for-Sale [Line Items]      
Cost 128,103 128,103 130,566
Net Unrealized Losses   0 0
Fair Value 128,103 128,103 130,566
Cash and Cash equivalents 128,103 128,103 130,566
Short-term Investments 0 0 0
Long-term Investments 0 0 0
Money market funds | Fair Value, Inputs, Level 1 | Fair Value, Recurring      
Debt Securities, Available-for-Sale [Line Items]      
Cost 141,336 141,336 147,652
Net Unrealized Losses   0 0
Fair Value 141,336 141,336 147,652
Cash and Cash equivalents 141,336 141,336 147,652
Short-term Investments 0 0 0
Long-term Investments 0 0 0
Commercial paper | Fair Value, Inputs, Level 1 | Fair Value, Recurring      
Debt Securities, Available-for-Sale [Line Items]      
Cost 12,032 12,032 16,408
Net Unrealized Losses   (3) 11
Fair Value 12,029 12,029 16,419
Cash and Cash equivalents 0 0 0
Short-term Investments 12,029 12,029 16,419
Long-term Investments 0 0 0
Certificates of deposit | Fair Value, Inputs, Level 2 | Fair Value, Recurring      
Debt Securities, Available-for-Sale [Line Items]      
Cost 23,615 23,615 15,366
Net Unrealized Losses   7 21
Fair Value 23,622 23,622 15,387
Cash and Cash equivalents 0 0 0
Short-term Investments 23,622 23,622 15,387
Long-term Investments 0 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,890 50,890 49,393
Net Unrealized Losses   (171) (73)
Fair Value 50,719 50,719 49,320
Cash and Cash equivalents 0 0 0
Short-term Investments 34,205 34,205 33,198
Long-term Investments 16,514 16,514 16,122
Corporate bonds | Fair Value, Inputs, Level 2 | Fair Value, Recurring      
Debt Securities, Available-for-Sale [Line Items]      
Cost 31,212 31,212 28,927
Net Unrealized Losses   6 26
Fair Value 31,218 31,218 28,953
Cash and Cash equivalents 0 0 0
Short-term Investments 21,410 21,410 19,327
Long-term Investments $ 9,808 $ 9,808 $ 9,626