Net Loss Per Share - Summary of Outstanding Shares of Common Stock Equivalents (Details) - shares shares in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jun. 30, 2018 |
Jun. 30, 2017 |
Jun. 30, 2018 |
Jun. 30, 2017 |
|
Earnings Per Share Diluted [Line Items] | ||||
Anti-dilutive securities excluded from computation of diluted net income per share | 9,209 | 12,342 | 9,826 | 12,763 |
Stock options, RSUs and employee stock purchase rights | ||||
Earnings Per Share Diluted [Line Items] | ||||
Anti-dilutive securities excluded from computation of diluted net income per share | 9,209 | 12,340 | 9,826 | 12,761 |
Common stock subject to repurchase | ||||
Earnings Per Share Diluted [Line Items] | ||||
Anti-dilutive securities excluded from computation of diluted net income per share | 0 | 2 | 0 | 2 |