Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Adoption of Topic 606 and ASC 842, Statement of Operations (Details)

v3.10.0.1
Summary of Significant Accounting Policies - Adoption of Topic 606 and ASC 842, Statement of Operations (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Revenue: Customer agreements and incentives   $ 61,717   $ 168,918
Cost of customer agreements and incentives   47,299   135,201
Sales and marketing $ 56,758 39,921 $ 150,074 108,109
General and administrative 26,720 27,925 87,743 77,761
Interest expense, net 34,482 23,217 94,552 65,746
Income tax expense (benefit) (5,988) 14,517 6,593 30,698
Net loss (47,524) (82,815) (210,671) (231,580)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests (44,628) (110,822) (243,216) (287,815)
Net income (loss) available to common stockholders $ (2,896) $ 28,007 $ 32,545 $ 56,235
Basic (in dollars per share) $ (0.03) $ 0.26 $ 0.30 $ 0.54
Diluted (in dollars per share) $ (0.02) $ 0.26 $ 0.28 $ 0.52
Previously Reported        
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Revenue: Customer agreements and incentives   $ 58,462   $ 171,897
Cost of customer agreements and incentives   49,232   140,682
Sales and marketing   37,298   101,758
General and administrative   27,925   77,776
Interest expense, net   17,707   49,586
Income tax expense (benefit)   14,834   37,625
Net loss   (80,187)   (218,513)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests   (107,969)   (284,144)
Net income (loss) available to common stockholders   $ 27,782   $ 65,631
Basic (in dollars per share)   $ 0.26   $ 0.62
Diluted (in dollars per share)   $ 0.25   $ 0.61
Adoption Impact | Accounting Standards Update 2014-09 and ASC 842        
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Revenue: Customer agreements and incentives   $ 3,255   $ (2,979)
Cost of customer agreements and incentives   (1,933)   (5,481)
Sales and marketing   2,623   6,351
General and administrative   0   (15)
Interest expense, net   5,510   16,160
Income tax expense (benefit)   (317)   (6,927)
Net loss   (2,628)   (13,067)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests   (2,853)   (3,671)
Net income (loss) available to common stockholders   $ 225   $ (9,396)
Basic (in dollars per share)   $ 0.00   $ (0.08)
Diluted (in dollars per share)   $ 0.01   $ (0.09)