CONVERTIBLE SENIOR NOTES (Schedule of Convertible Senior Notes) (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | |||
|---|---|---|---|---|---|
Sep. 30, 2024 |
Sep. 30, 2023 |
Sep. 30, 2024 |
Sep. 30, 2023 |
Dec. 31, 2023 |
|
| Liability Abstract | |||||
| Net carrying amount | $ 329,614 | $ 329,614 | $ 627,381 | ||
| Notes 2025 [Member] | |||||
| Liability Abstract | |||||
| Principal | 347,500 | 347,500 | 632,500 | ||
| Unamortized issuance costs | (1,600) | (1,600) | (5,119) | ||
| Net carrying amount | 345,900 | 345,900 | 627,381 | ||
| Debt issuance cost | 1,138 | $ 733 | 1,874 | $ 2,196 | |
| Notes 2029 [Member] | |||||
| Liability Abstract | |||||
| Principal | 337,000 | 337,000 | 0 | ||
| Unamortized issuance costs | (7,386) | (7,386) | 0 | ||
| Net carrying amount | 329,614 | 329,614 | 0 | ||
| Debt issuance cost | 393 | 0 | 400 | 0 | |
| Contractual interest expense | 1,913 | $ 0 | 1,950 | $ 0 | |
| Convertible Senior Notes [Member] | |||||
| Liability Abstract | |||||
| Net carrying amount | $ 675,514 | $ 675,514 | $ 627,381 | ||