Quarterly report pursuant to Section 13 or 15(d)

Net Loss Per Common Share - Schedule of Potential Common Shares Outstanding Excluded from the Computation of Diluted Net Loss Per Share (Details)

v3.10.0.1
Net Loss Per Common Share - Schedule of Potential Common Shares Outstanding Excluded from the Computation of Diluted Net Loss Per Share (Details) - shares
shares in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Anti-dilutive securities    
Total common stock equivalents (in shares) 104,323 50,193
Shares issuable upon conversion of preferred stock    
Anti-dilutive securities    
Total common stock equivalents (in shares) 48,163 16,488
Restricted stock units    
Anti-dilutive securities    
Total common stock equivalents (in shares) 27,461 21,739
Shares issuable upon conversion of 2023 Notes    
Anti-dilutive securities    
Total common stock equivalents (in shares) 20,154 0
Options to purchase common stock    
Anti-dilutive securities    
Total common stock equivalents (in shares) 6,541 9,384
Performance awards    
Anti-dilutive securities    
Total common stock equivalents (in shares) 1,016 1,993
Shares issuable pursuant to the ESPP    
Anti-dilutive securities    
Total common stock equivalents (in shares) 988 589