Convertible Senior Notes - Narrative (Details) - USD ($) $ / shares in Units, $ in Thousands, shares in Millions |
3 Months Ended | 9 Months Ended | |||||
|---|---|---|---|---|---|---|---|
Jul. 03, 2025 |
Jun. 25, 2020 |
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
Jul. 31, 2025 |
|
| Debt Instrument [Line Items] | |||||||
| Fair value of notes | $ 1,569,400 | $ 1,569,400 | $ 1,686,500 | ||||
| Convertible Senior Notes Due 2028 | |||||||
| Debt Instrument [Line Items] | |||||||
| Principal amount | $ 1,725,000 | ||||||
| Interest rate | 0.00% | ||||||
| Proceeds from debt issuance | $ 1,700,000 | ||||||
| Amortization of debt issuance costs | $ 2,000 | $ 6,100 | |||||
| Initial strike price (in dollars per share) | $ 439.52 | ||||||
| Initial cap price (in dollars per shares) | $ 784.85 | ||||||
| Additional 2028 Notes | |||||||
| Debt Instrument [Line Items] | |||||||
| Principal amount | $ 225,000 | ||||||
| Convertible Senior Notes Due 2025 | |||||||
| Debt Instrument [Line Items] | |||||||
| Principal amount | $ 1,150,000 | ||||||
| Interest rate | 0.125% | ||||||
| Amortization of debt issuance costs | $ 984 | $ 2,947 | |||||
| New shares of our common stock (in shares) | 3.8 | ||||||
| Common stock from the capped call transactions | $ 2,400 | ||||||
| X | ||||||||||
- Definition Amount of amortization expense attributable to debt issuance costs. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Contractual interest rate for funds borrowed, under the debt agreement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| 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. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Exercise or strike price stated in the contract for options indexed to the issuer's equity shares. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Convertible Debt, Capped Call, Shares Received No definition available.
|
| X | ||||||||||
- Definition Convertible Debt, Settlement, Shares Issued No definition available.
|
| X | ||||||||||
- Definition Option Indexed to Issuer's Equity, Cap Price No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|