v3.26.1
FAIR VALUE MEASUREMENTS - Summary of carrying value and fair value of the Company's convertible notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2026
Dec. 31, 2025
Debt Instrument [Line Items]    
Total carrying value of debt instruments $ 847,623 $ 828,974
Total fair value of debt instruments 910,250 864,867
2027 Notes    
Debt Instrument [Line Items]    
Total carrying value of debt instruments 157,806 157,478
Total fair value of debt instruments 149,918 143,076
2030 Notes    
Debt Instrument [Line Items]    
Total carrying value of debt instruments 689,817 671,496
Total fair value of debt instruments $ 760,332 $ 721,791