XML 52 R42.htm IDEA: XBRL DOCUMENT v3.19.2
Net loss per share - Potentially Dilutive Securities Excluded From Computation of Diluted Net Loss per Share Attributable to Common Stockholders (Details) - shares
shares in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Antidilutive Securities Excluded From Computation Of Earnings Per Share    
Potentially dilutive securities, excluded from computation of diluted net income (loss) per share (in shares) 6,081 7,332
Employee stock options    
Antidilutive Securities Excluded From Computation Of Earnings Per Share    
Potentially dilutive securities, excluded from computation of diluted net income (loss) per share (in shares) 2,963 3,860
Restricted stock units    
Antidilutive Securities Excluded From Computation Of Earnings Per Share    
Potentially dilutive securities, excluded from computation of diluted net income (loss) per share (in shares) 2,208 3,279
Market-based restricted stock units    
Antidilutive Securities Excluded From Computation Of Earnings Per Share    
Potentially dilutive securities, excluded from computation of diluted net income (loss) per share (in shares) 647 0
Employee stock purchase plan    
Antidilutive Securities Excluded From Computation Of Earnings Per Share    
Potentially dilutive securities, excluded from computation of diluted net income (loss) per share (in shares) 263 193