Annual report pursuant to Section 13 and 15(d)

Net Income Per Share - Computation of Basic and Diluted Net Income (Loss) per Share (Details)

v3.19.3.a.u2
Net Income Per Share - Computation of Basic and Diluted Net Income (Loss) per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Numerator:                      
Net income attributable to common stockholders $ 12,500 $ 28,990 $ (1,293) $ (13,862) $ (5,888) $ (2,896) $ 7,409 $ 28,032 $ 26,335 $ 26,657 $ 125,489
Denominator:                      
Weighted average shares used to compute net income per share attributable to common stockholders, basic (in shares)                 116,397 110,089 105,432
Weighted average effect of potentially dilutive shares to purchase common stock (in shares)                 7,479 7,023 2,774
Weighted average shares used to compute net income per share attributable to common stockholders, diluted (in shares)                 123,876 117,112 108,206
Net income per share attributable to common stockholders                      
Basic (in dollars per share) $ 0.11 $ 0.25 $ (0.01) $ (0.12) $ (0.05) $ (0.03) $ 0.07 $ 0.26 $ 0.23 $ 0.24 $ 1.19
Diluted (in dollars per share) $ 0.10 $ 0.23 $ (0.01) $ (0.12) $ (0.05) $ (0.02) $ 0.06 $ 0.25 $ 0.21 $ 0.23 $ 1.16