Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies (Details)

v3.8.0.1
Summary of Significant Accounting Policies (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Related Party Transaction [Line Items]    
Money market funds $ 30,030 $ 43,484
Commissions and fees payable $ 67,221 60,594
Tax benefit from share based compensation   4,458
Tax benefit related to excluded windfall deductions   4,446
Forfeitures for share-based compensation   63
Tax benefit for share-based compensation forfeitures   $ 12
Subsidiary of Common Parent    
Related Party Transaction [Line Items]    
Ownership percentage 80.00%  
Accounting Standards Update 2014-09    
Related Party Transaction [Line Items]    
Effect of adoption of ASU 2014-09 $ 29,344  
Difference between revenue guidance in effect before and after Topic 606 | Accounting Standards Update 2014-09    
Related Party Transaction [Line Items]    
Effect of adoption of ASU 2014-09 5,748  
Renewal commission receivable 58,788  
Commissions and fees payable 29,395  
Contract receivable asset 23,516  
Contract fulfillment 80  
Net intangible assets $ 23,645  
Minimum    
Related Party Transaction [Line Items]    
Customer relationship period 6 years  
Maximum    
Related Party Transaction [Line Items]    
Customer relationship period 10 years