XML 21 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS’ (DEFICIT) EQUITY - USD ($)
$ in Thousands
Total
Common Stock
Additional Paid-in Capital
Accumulated Other Comprehensive Loss
Accumulated Deficit
Increase (Decrease) in Stockholders' Deficit          
Cumulative effect adjustment from adoption of ASU $ 30,222       $ 30,222
Temporary equity, shares outstanding, beginning balance (in shares) at Jul. 31, 2015 76,319,511        
Temporary equity, beginning balance at Jul. 31, 2015 $ 310,379        
Temporary equity, shares outstanding, ending balance (in shares) at Jul. 31, 2016 76,319,511        
Temporary equity, ending balance at Jul. 31, 2016 $ 310,379        
Common stock, shares outstanding, beginning balance (in shares) at Jul. 31, 2015   44,797,201      
Stockholders' (deficit) equity, beginning balance at Jul. 31, 2015 (234,734) $ 1 $ 38,713 $ (14) (273,434)
Increase (Decrease) in Stockholders' Deficit          
Issuance of common stock upon exercise of stock options (in shares)   1,573,577      
Issuance of common stock upon exercise of stock options 2,675   2,675    
Vesting of early exercised stock options 3,205   3,205    
Stock-based compensation 20,056   20,056    
Repurchase of common stock (in shares)   (287,127)      
Excess tax benefit from stock-based compensation 980   980    
Other comprehensive loss 2     2  
Net loss (108,233)       (108,233)
Common stock, shares outstanding, ending balance (in shares) at Jul. 31, 2016   46,083,651      
Stockholders' (deficit) equity, ending balance at Jul. 31, 2016 (285,827) $ 1 65,629 (12) (351,445)
Increase (Decrease) in Stockholders' Deficit          
Cumulative effect adjustment from adoption of ASU $ 114       114
Temporary equity, conversion of convertible preferred stock to common stock upon IPO (in shares) 76,319,511        
Temporary equity, conversion of convertible preferred stock to common stock upon IPO $ 310,379        
Temporary equity, shares outstanding, ending balance (in shares) at Jul. 31, 2017 0        
Temporary equity, ending balance at Jul. 31, 2017 $ 0        
Increase (Decrease) in Stockholders' Deficit          
Conversion of convertible preferred stock to common stock upon initial public (in shares)   76,319,511      
Conversion of convertible preferred stock to common stock upon IPO 310,379 $ 2 310,377    
Issuance of class A common stock upon IPO, net of issuance costs (in shares)   17,100,500      
Issuance of class A common stock upon IPO, net of issuance costs 249,170 $ 1 249,169    
Issuance of common stock upon exercise of common stock warrants (in shares)   775,554      
Issuance of common stock upon exercise of common stock warrants 77   77    
Issuance of common stock for stock awards, net of repurchases (in shares)   10,871,714      
Issuance of common stock through employee equity incentive plans, net of repurchases $ 14,956   14,956    
Issuance of common stock upon exercise of stock options (in shares) 4,786,381        
Issuance of common stock from ESPP purchase (in shares)   1,246,054      
Issuance of common stock from ESPP purchase $ 16,946   16,946    
Issuance of common stock for acquisitions (in shares)   2,239,536      
Issuance of common stock for acquisitions 27,063   27,063    
Vesting of early exercised stock options 1,614   1,614    
Stock-based compensation 231,491   231,491    
Reclassification of convertible preferred stock warrant liability to APIC upon IPO 30,812   30,812    
Other comprehensive loss (94)     (94)  
Net loss $ (379,638)       (379,638)
Common stock, shares outstanding, ending balance (in shares) at Jul. 31, 2017 154,636,520 154,636,520      
Stockholders' (deficit) equity, ending balance at Jul. 31, 2017 $ 217,063 $ 4 948,134 (106) (730,969)
Temporary equity, shares outstanding, ending balance (in shares) at Jul. 31, 2018 0        
Temporary equity, ending balance at Jul. 31, 2018 $ 0        
Increase (Decrease) in Stockholders' Deficit          
Issuance of common stock for stock awards, net of repurchases (in shares)   14,492,922      
Issuance of common stock through employee equity incentive plans, net of repurchases $ 33,037   33,037    
Issuance of common stock upon exercise of stock options (in shares) 8,672,623        
Issuance of common stock from ESPP purchase (in shares)   2,417,850      
Issuance of common stock from ESPP purchase $ 39,009   39,009    
Issuance of common stock for acquisitions (in shares)   1,310,790      
Issuance of common stock for acquisitions 63,780   63,780    
Vesting of early exercised stock options 681   681    
Stock-based compensation 177,868   177,868    
Equity component of convertible senior notes, net 148,598   148,598    
Purchase of bond hedges related to the convertible senior notes (143,175)   (143,175)    
Reclassification of convertible preferred stock warrant liability to APIC upon IPO 87,975   87,975    
Other comprehensive loss (896)     (896)  
Net loss $ (297,161)       (297,161)
Common stock, shares outstanding, ending balance (in shares) at Jul. 31, 2018 172,858,082 172,858,082      
Stockholders' (deficit) equity, ending balance at Jul. 31, 2018 $ 326,779 $ 4 $ 1,355,907 $ (1,002) $ (1,028,130)