| Description of Business - Schedule of Pro Forma Consolidated Results of Operations (Details) - USD ($) $ in Thousands | 12 Months Ended | |
|---|---|---|
| Jun. 30, 2021 | Jun. 30, 2020 | |
| Organization Consolidation And Presentation Of Financial Statements [Abstract] | ||
| Revenue | $ 8,152,982 | $ 5,746,116 | 
| Net income | $ 180,508 | $ 53,964 | 
| X | ||||||||||
| 
- Definition The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 |