| Marketable Securities  - Additional Information (Details) $ in Millions | 12 Months Ended | 
|---|---|
| Jun. 30, 2019  USD ($)  investment | |
| Marketable Securities | |
| Number of investments in an unrealized loss position | investment | 246 | 
| Realized losses on available for sale securities | $ | $ 1.4 | 
| Corporate and Government Securities | |
| Marketable Securities | |
| Investment portfolio, maximum maturity term | 3 years | 
| X | ||||||||||
| 
- Definition Amount of realized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| 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. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| 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. No definition available. 
 | 
| X | ||||||||||
| 
- Details 
 |