SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS - Revenues by geography (Details) - USD ($) $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2019 |
Mar. 31, 2019 |
Dec. 31, 2018 |
Sep. 30, 2018 |
Jun. 30, 2018 |
Mar. 31, 2018 |
Dec. 31, 2017 |
Sep. 30, 2017 |
Jun. 30, 2019 |
Jun. 30, 2018 |
Jun. 30, 2017 |
|
| Segment Reporting Information [Line Items] | |||||||||||
| Total revenues | $ 286,641 | $ 284,911 | $ 307,276 | $ 282,905 | $ 269,778 | $ 250,404 | $ 250,811 | $ 245,868 | $ 1,161,733 | $ 1,016,861 | $ 865,268 |
| Percentage of revenues | 100.00% | 100.00% | 100.00% | ||||||||
| United States | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Total revenues | $ 469,800 | $ 390,600 | $ 315,000 | ||||||||
| Geographical location | North America | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Total revenues | $ 497,218 | $ 410,378 | $ 331,435 | ||||||||
| Percentage of revenues | 43.00% | 40.00% | 38.00% | ||||||||
| Geographical location | South America | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Total revenues | $ 78,723 | $ 92,251 | $ 105,511 | ||||||||
| Percentage of revenues | 7.00% | 9.00% | 12.00% | ||||||||
| Geographical location | Europe, the Middle East and Africa (EMEA) | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Total revenues | $ 477,332 | $ 411,388 | $ 334,473 | ||||||||
| Percentage of revenues | 41.00% | 41.00% | 39.00% | ||||||||
| Geographical location | Asia Pacific | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Total revenues | $ 108,460 | $ 102,844 | $ 93,849 | ||||||||
| Percentage of revenues | 9.00% | 10.00% | 11.00% | ||||||||