XML 62 R50.htm IDEA: XBRL DOCUMENT v3.8.0.1
NET LOSS PER SHARE - Computation of Basic and Diluted Net Loss Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended
Oct. 31, 2017
Oct. 31, 2016
[1]
Earnings Per Share [Abstract]    
Net loss $ (61,487) $ (140,302)
Weighted-average shares used in computing net loss per share attributable to common stockholders—basic and diluted (in shares) 156,780,631 74,373,788
Net loss per share attributable to common stockholders—basic and diluted (in dollars per share) $ (0.39) $ (1.89)
[1] See Note 3 for a summary of adjustments related to the adoption of the new revenue recognition standard.