v3.20.1
Net (Loss) Income Per Share - Schedule of Calculation of Basic and Diluted Net (Loss) Income Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Basic net income (loss) per share:    
Net income (loss) $ 6,479 $ (9,491)
Weighted average shares used in calculating net income (loss) per share, basic 295,455 77,061
Basic net income (loss) per share $ 0.02 $ (0.12)
Diluted net income (loss) per share:    
Net income (loss) attributable to common stockholders $ 6,479 $ (9,491)
Allocation of undistributed income (loss)   $ (9,491)
Weighted average shares used in calculating net income (loss) per share, basic 295,455 77,061
Number of shares used in diluted calculation 327,801 77,061
Diluted net income (loss) per share $ 0.02 $ (0.12)
Class A Common Stock    
Basic net income (loss) per share:    
Net income (loss) $ 1,852  
Weighted average shares used in calculating net income (loss) per share, basic 84,434  
Basic net income (loss) per share $ 0.02  
Diluted net income (loss) per share:    
Net income (loss) attributable to common stockholders $ 1,852  
Reallocation of undistributed income as a result of conversion of Class B to Class A shares 4,627  
Allocation of undistributed income (loss) $ 6,479  
Weighted average shares used in calculating net income (loss) per share, basic 84,434  
Conversion of Class B to Class A common shares outstanding 211,021  
Employee stock options 30,708  
Employee stock purchase plan 129  
Unvested early exercises 1,139  
Restricted Stock Units 126  
Unvested restricted stock in connection with acquisition 244  
Number of shares used in diluted calculation 327,801  
Diluted net income (loss) per share $ 0.02  
Class B Common Stock    
Basic net income (loss) per share:    
Net income (loss) $ 4,627  
Weighted average shares used in calculating net income (loss) per share, basic 211,021  
Basic net income (loss) per share $ 0.02  
Diluted net income (loss) per share:    
Net income (loss) attributable to common stockholders $ 4,627  
Allocation of undistributed income (loss) $ 4,627  
Weighted average shares used in calculating net income (loss) per share, basic 211,021  
Number of shares used in diluted calculation 211,021  
Diluted net income (loss) per share $ 0.02