XML 30 R19.htm IDEA: XBRL DOCUMENT v3.20.2
Net Income (Loss) Per Share (Tables)
6 Months Ended
Jun. 30, 2020
Net Income (Loss) Per Share  
Schedule of basic and diluted net income (loss) per common share

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

Three Months Ended

 

Six Months Ended

​

​

June 30, 

​

June 30, 

​

    

2020

    

2019

    

2020

    

2019

​

​

(in thousands, except share and per share data)

Numerator:

​

​

​

​

​

​

​

​

​

​

​

​

Net income (loss) attributable to common stockholders

​

$

(35,018)

​

$

(16,034)

​

$

(43,092)

​

$

64,012

Denominator:

​

​

​

​

​

​

​

​

​

​

​

​

Weighted-average common shares outstanding used in computing basic net income (loss)

​

 

57,059,610

​

 

56,399,255

​

​

57,003,162

​

​

56,351,377

Effect of dilutive securities

​

​

—

​

​

—

​

​

—

​

​

1,691,442

Weighted-average common shares outstanding used in computing diluted net income (loss)

​

​

57,059,610

​

​

56,399,255

​

​

57,003,162

​

​

58,042,819

Basic net income (loss) per common share

​

$

(0.61)

​

$

(0.28)

​

$

(0.76)

​

$

1.14

Diluted net income (loss) per common share

​

$

(0.61)

​

$

(0.28)

​

$

(0.76)

​

$

1.10