| Jul 31, 2017 | Jul 31, 2018 | Jul 31, 2019 | Jul 31, 2021 | Jul 31, 2022 | Jul 31, 2023 | Jul 31, 2024 |
|---|
| Net loss | -458 | -297 | -621 | -1,034 | -798 | -255 | -125 |
|---|
| Depreciation and amortization | 38 | 50 | 78 | 94 | 88 | 76 | 73 |
|---|
| Stock-based compensation | 231 | 178 | 307 | 359 | 343 | 312 | 334 |
|---|
| Change in fair value of derivative liability | - | - | - | 269 | 198 | - | - |
|---|
| Loss on debt extinguishment | -3 | - | - | - | -65 | - | - |
|---|
| Amortization of debt discount and issuance cost | - | 15 | 29 | 64 | 40 | 43 | 42 |
|---|
| Conversion of convertible senior notes attributable to debt discount and issuance costs | - | - | - | - | - | - | 108 |
|---|
| Operating lease cost, net of accretion | - | - | - | 35 | 37 | 35 | 31 |
|---|
| Operating Lease, Impairment Loss | - | - | - | 1 | 1 | -1 | - |
|---|
| Gain On Frame Divestiture | - | - | - | - | - | -11 | - |
|---|
| Noncash Interest Expense | - | - | - | 16 | 19 | 20 | 19 |
|---|
| Other | -1 | 1 | 3 | -6 | -9 | 11 | 13 |
|---|
| Accounts receivable, net | 67 | 79 | -16 | -64 | -61 | 26 | 54 |
|---|
| Deferred commissions | 24 | 41 | 39 | 128 | 24 | -10 | 1 |
|---|
| Prepaid expenses and other assets | 16 | 37 | 12 | -4 | 36 | 59 | -47 |
|---|
| Accounts payable | 21 | -16 | 14 | -6 | -1 | -10 | 15 |
|---|
| Accrued compensation and benefits | 33 | 28 | 14 | -51 | -20 | -6 | 52 |
|---|
| Accrued expenses and other liabilities | 5 | 34 | -17 | 15 | 4 | 53 | -83 |
|---|
| Operating leases, net | - | - | - | -38 | -47 | -40 | -30 |
|---|
| Deferred revenue | - | 262 | 279 | 127 | 128 | 143 | 259 |
|---|
| Net cash provided by operating activities | 14 | 93 | 42 | -100 | 68 | 272 | 673 |
|---|
| Maturities of investments | 84 | 297 | 589 | 784 | 1,058 | 965 | 774 |
|---|
| Purchases of investments | 243 | 716 | 468 | 1,393 | 1,081 | 955 | 871 |
|---|
| Sales of investments | - | - | - | - | 18 | - | 706 |
|---|
| Proceeds from Frame divestiture | - | - | - | - | - | 6 | - |
|---|
| Payments for acquisitions, net of cash acquired | 0 | 22 | 19 | - | - | - | 5 |
|---|
| Purchases of property and equipment | 50 | 62 | 118 | 59 | 49 | 65 | 75 |
|---|
| Net cash (used in) provided by investing activities | -176 | -504 | -17 | -597 | -54 | -50 | 530 |
|---|
| Repayment of convertible notes | - | - | - | - | - | 146 | 818 |
|---|
| Payments of debt extinguishment costs | 2 | - | - | - | 15 | - | - |
|---|
| Proceeds from Hedge, Financing Activities | - | - | - | - | 40 | - | - |
|---|
| Payments for unwinding of warrants | - | - | - | - | 18 | - | - |
|---|
| Proceeds from Stock Plans | - | - | 69 | 66 | 68 | 47 | 52 |
|---|
| Taxes paid related to net share settlement of equity awards | - | - | - | - | - | 10 | 162 |
|---|
| Proceeds from Issuance of Debt | - | - | - | - | 89 | - | - |
|---|
| Repurchases of common stock | - | - | - | 125 | 59 | - | 131 |
|---|
| Payment of finance lease obligations | - | - | - | -0 | 1 | 3 | 4 |
|---|
| Net cash provided by (used in) financing activities | 201 | 579 | 67 | 664 | 104 | -113 | -1,063 |
|---|
| Net increase in cash, cash equivalents and restricted cash | - | - | 92 | -33 | 117 | 110 | 140 |
|---|
| Income Taxes Paid, Net | 5 | 10 | 29 | 17 | 20 | 31 | 24 |
|---|
| Capital Expenditures Incurred but Not yet Paid | 6 | 13 | 8 | 13 | 17 | 16 | 19 |
|---|
| Forfeited paid-in-kind interest recognized in equity upon note conversion | - | - | - | - | - | - | 6 |
|---|