| MARKETABLE SECURITIES - Additional Information (Details) | Jun. 30, 2023  investment | 
|---|---|
| Debt Securities, Available-for-Sale [Line Items] | |
| Number of investments in an unrealized loss position | 494 | 
| Corporate and Government Securities | |
| Debt Securities, Available-for-Sale [Line Items] | |
| Investment portfolio, maximum maturity term | 3 years | 
| X | ||||||||||
| 
- Definition Period between issuance and maturity of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Details 
 |