CONVERTIBLE SENIOR NOTES (Schedule of Convertible Senior Notes) (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | |||
|---|---|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2024 |
Jun. 30, 2023 |
Dec. 31, 2023 |
|
| Liability Abstract | |||||
| Net carrying amount | $ 638,703 | $ 638,703 | $ 627,381 | ||
| Notes 2025 [Member] | |||||
| Liability Abstract | |||||
| Principal | 347,500 | 347,500 | 632,500 | ||
| Unamortized issuance costs | (2,005) | (2,005) | (5,119) | ||
| Net carrying amount | 345,495 | 345,495 | 627,381 | ||
| Debt issuance cost | 736 | $ 732 | 1,470 | $ 1,463 | |
| Notes 2029 [Member] | |||||
| Liability Abstract | |||||
| Principal | 300,000 | 300,000 | 0 | ||
| Unamortized issuance costs | (6,792) | (6,792) | 0 | ||
| Net carrying amount | 293,208 | 293,208 | $ 0 | ||
| Debt issuance cost | 7 | 0 | 7 | 0 | |
| Contractual interest expense | $ 37 | $ 0 | $ 37 | $ 0 | |