XML 68 R57.htm IDEA: XBRL DOCUMENT v3.10.0.1
Net Income (Loss) per Share Attributable to Common Stock - Summary of Anti-dilutive Stock Equivalents (Details) - shares
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from earnings per share (in shares) 238,668 68,720,341 12,231,695 68,720,341
Redeemable convertible preferred stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from earnings per share (in shares) 0 55,422,002 0 55,422,002
Options to purchase common stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from earnings per share (in shares) 0 13,298,339 10,150,522 13,298,339
Restricted stock units        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from earnings per share (in shares) 238,668 0 2,081,173 0