SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||||
---|---|---|---|---|---|---|
Mar. 31, 2023 |
Mar. 31, 2022 |
Mar. 31, 2023 |
Mar. 31, 2022 |
Jul. 01, 2022 |
Jun. 30, 2022 |
|
Accounting Policies [Abstract] | ||||||
Accounts receivable, allowance for credit loss | $ 6,144 | $ 6,144 | $ 3,268 | |||
Advertising and promotion expense | 8,014 | $ 5,354 | 21,415 | $ 15,229 | ||
Stock-based compensation cost | 20,384 | $ 16,294 | 58,019 | $ 55,321 | ||
Operating lease right-of-use assets | 17,500 | 17,500 | $ 17,457 | $ 0 | ||
Operating lease liability | $ 21,629 | $ 21,629 | $ 24,626 |