v3.20.1
Net (Loss) Income Per Share - Schedule of Potentially Dilutive Securities not Included in Diluted Per Share Calculations (Details) - shares
shares in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Potentially dilutive securities not included in diluted per share calculations 4,569 218,664
Convertible Preferred Stock    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Potentially dilutive securities not included in diluted per share calculations   179,814
Shares Subject to Outstanding Stock Options and Restricted Stock Units    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Potentially dilutive securities not included in diluted per share calculations 4,352 36,672
Unvested Early Exercised Stock Options    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Potentially dilutive securities not included in diluted per share calculations   2,178
Shares Subject to Employee Stock Purchase Plan    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Potentially dilutive securities not included in diluted per share calculations 217