NET LOSS PER SHARE - Schedule of Antidilutive Awards (Details) - shares shares in Thousands |
3 Months Ended | |
---|---|---|
Sep. 30, 2022 |
Sep. 30, 2021 |
|
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Anti-dilutive shares (in shares) | 20,393 | 11,543 |
Stock options | ||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Anti-dilutive shares (in shares) | 773 | 1,155 |
Restricted stock units and Performance stock units | ||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Anti-dilutive shares (in shares) | 17,133 | 9,821 |
Potential shares attributable to the ESPP | ||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Anti-dilutive shares (in shares) | 2,487 | 567 |