XML 43 R31.htm IDEA: XBRL DOCUMENT v3.22.1
Overview and Basis of Presentation - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Aug. 01, 2021
Apr. 30, 2022
Apr. 30, 2021
Apr. 30, 2022
Apr. 30, 2021
Jul. 31, 2021
Sep. 30, 2020
Sep. 24, 2020
Jan. 31, 2018
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]                  
Change in accounting principle, accounting standards update, adoption date   Aug. 01, 2021   Aug. 01, 2021          
Adjustments to Additional Paid in Capital, Other $ 148,600                
Accumulated deficit 100,600 $ (4,217,036)   $ (4,217,036)   $ (3,627,355)      
Partner [Member] | Customer Concentration Risk [Member] | Revenue Benchmark [Member]                  
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]                  
Concentration risk percentage   10.00% 10.00% 10.00% 10.00%        
2026 Convertible Senior Notes | Convertible Debt [Member]                  
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]                  
Principal value             $ 750,000    
Interest rate, stated percentage   2.50%   2.50%       2.50%  
2023 Convertible Senior Notes | Convertible Debt [Member]                  
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]                  
Principal value                 $ 575,000
Interest rate, stated percentage   0.00%   0.00%         0.00%
Convertible Notes Payable [Member]                  
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]                  
Increase in carrying value of the notes outstanding $ 48,000                
ASU 2020-06                  
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]                  
Change in accounting principle, accounting standards update, adopted true                
Change in accounting principle, accounting standards update, adoption date   Aug. 01, 2021   Aug. 01, 2021          
Change in accounting principle, accounting standards update, immaterial effect false                
ASU 2021-04                  
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]                  
Change in accounting principle, accounting standards update, adopted true                
Change in accounting principle, accounting standards update, immaterial effect true