Quarterly report pursuant to Section 13 or 15(d)

Basis of Presentation of Interim Period Statements - Additional Information (Detail)

v3.8.0.1
Basis of Presentation of Interim Period Statements - Additional Information (Detail)
3 Months Ended
Mar. 31, 2018
USD ($)
Company
shares
Mar. 31, 2017
USD ($)
shares
Dec. 31, 2017
USD ($)
Dec. 31, 2016
USD ($)
Organization Consolidation And Presentation Of Financial Statements [Abstract]        
Revenue recognition professional employer service contracts term 1 year      
Professional employer service contract cancellation and termination period 30 days      
Payment term for staffing customers 30 days      
Number of wholly-owned insurance companies | Company 2      
Cash and cash equivalents, maturity term 3 months      
Trading securities $ 0   $ 0  
Allowance for doubtful accounts 265,000   265,000  
Estimate of liability for unpaid safety incentives 27,400,000   28,500,000  
Income taxes paid $ 0 $ 300,000    
Potential common shares excluded from calculation of diluted loss per share | shares 336,488 292,611    
Restricted cash and restricted cash equivalents $ 30,788,000 $ 226,800,000 $ 60,370,000 $ 290,600,000