Net Loss Per Share - Additional Information (Details) - $ / shares |
3 Months Ended | |||
|---|---|---|---|---|
Jan. 31, 2022 |
Feb. 28, 2022 |
Jan. 03, 2022 |
Jul. 31, 2021 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Common stock, par value | $ 0.000025 | $ 0.000025 | $ 0.000025 | |
| ASU 2020-06 | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| New Accounting Pronouncement or Change in Accounting Principle | We adopted ASU 2020-06 on August 1, 2021 using the modified retrospective method, applicable to our convertible senior notes outstanding as of adoption. We have not changed any previously disclosed amounts or provided additional disclosures for comparative periods. ASU 2020-06 requires the if-converted method to be applied for all convertible instruments when calculating diluted earnings per share. | |||
| Common Class A | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Common stock, par value | $ 0.000025 | $ 0.000025 | 0.000025 | |
| Common Class B | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Common stock, par value | $ 0.000025 | $ 0.000025 | $ 0.000025 |