v3.25.2
Restructuring Charges - Summary of Activities Related to Restructuring (Details) - 2024 Restructuring - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2025
Dec. 31, 2024
Restructuring Cost and Reserve [Line Items]    
Liability, beginning of the period $ 2,412 $ 1,516
Additional charges 3,526 11,132
Real estate and internal-use software charges 0 3,533
Gain on lease termination 0 (988)
Payments (2,970) (10,166)
Non-cash items (1,119) (2,615)
Liability, end of the period 1,849 2,412
Workforce Reduction    
Restructuring Cost and Reserve [Line Items]    
Liability, beginning of the period 1,748 1,516
Additional charges 1,319 6,971
Real estate and internal-use software charges 0 0
Gain on lease termination 0 0
Payments (1,814) (6,674)
Non-cash items 0 (65)
Liability, end of the period 1,253 1,748
Real Estate and Internal Use Software    
Restructuring Cost and Reserve [Line Items]    
Liability, beginning of the period 184 0
Additional charges 1,178 262
Real estate and internal-use software charges 0 3,533
Gain on lease termination 0 (988)
Payments (116) (73)
Non-cash items (1,119) (2,550)
Liability, end of the period 127 184
Other Restructuring Charges    
Restructuring Cost and Reserve [Line Items]    
Liability, beginning of the period 480 0
Additional charges 1,029 3,899
Real estate and internal-use software charges 0 0
Gain on lease termination 0 0
Payments (1,040) (3,419)
Non-cash items 0 0
Liability, end of the period $ 469 $ 480