v3.20.2
Net Income (Loss) Per Share - Schedule of Potentially Dilutive Securities (Detail) - shares
shares in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total potentially dilutive securities (in shares) 356 24,113 2,876 24,113
Common stock options        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total potentially dilutive securities (in shares) 161 1,370 161 1,370
RSUs        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total potentially dilutive securities (in shares) 195 10,917 2,537 10,917
ESPP obligations        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total potentially dilutive securities (in shares) 0 212 178 212
Convertible senior notes | 2022 Notes        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total potentially dilutive securities (in shares) 0 5,807 0 5,807
Warrants related to the issuance of convertible senior notes | 2022 convertible senior notes        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total potentially dilutive securities (in shares) 0 5,807 0 5,807