Quarterly report pursuant to Section 13 or 15(d)

Acquisitions (Pro Forma) (Details)

v3.7.0.1
Acquisitions (Pro Forma) (Details) - Vitruvian acquisition - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 4 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2017
Jun. 30, 2016
Business Acquisition, Pro Forma Information, Nonrecurring Adjustment [Line Items]          
Revenue $ 51,069   $ 77,997    
Pro forma revenue 323,953 $ (28,012)   $ 692,856 $ 175,700
Pro forma net income (loss) $ 105,936 $ (461,007)   $ 281,817 $ (735,214)
Pro forma earnings (loss) per share (basic) (in dollars per share) $ 0.58 $ (3.09)   $ 1.60 $ (5.17)
Pro forma earnings (loss) per share (diluted) (in dollars per share) $ 0.58 $ (3.09)   $ 1.59 $ (5.17)