v3.24.2.u1
CONVERTIBLE SENIOR NOTES (Tables)
6 Months Ended
Jun. 30, 2024
Debt Disclosure [Abstract]  
Schedule of convertible senior notes
   
June 30,
2024
   
December 31,
2023
 
Notes 2025
           
Principal
 
$
347,500
   
$
632,500
 
Unamortized issuance costs
   
(2,005
)
   
(5,119
)
Net carrying amount Notes 2025
   
345,495
     
627,381
 
Notes 2029
               
Principal
   
300,000
     
-
 
Unamortized issuance costs
   
(6,792
)
   
-
 
Net carrying amount Notes 2029
   
293,208
     
-
 
                 
Total notes carrying amount
 
$
638,703
   
$
627,381
 
   
Three Months Ended
June 30,
   
Six Months Ended
June 30,
 
   
2024
   
2023
   
2024
   
2023
 
Notes 2025
                       
Debt issuance cost
 
$
736
   
$
732
   
$
1,470
   
$
1,463
 
Notes 2029
                               
Debt issuance cost
 
$
7
   
$
-
   
$
7
   
$
-
 
Contractual interest expense
 
$
37
   
$
-
   
$
37
   
$
-