| Intangible Assets - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Mar. 31, 2017 | Dec. 31, 2016 | Sep. 30, 2016 | Jun. 30, 2016 | Mar. 31, 2016 | Dec. 31, 2015 | Sep. 30, 2015 | Jun. 30, 2015 | Mar. 31, 2017 | Mar. 31, 2016 | Mar. 31, 2015 | |
| Goodwill And Intangible Assets [Line Items] | |||||||||||
| Impairment | $ 757 | ||||||||||
| Other direct cost of revenues | $ 2,298 | $ 1,878 | $ 1,882 | $ 1,880 | $ 2,084 | $ 1,704 | $ 4,558 | $ 2,191 | 7,168 | $ 2,010 | |
| Other direct cost of revenues | 7,938 | $ 10,537 | 2,010 | ||||||||
| Amortization | $ 7,168 | 8,168 | $ 2,010 | ||||||||
| Trade Names | |||||||||||
| Goodwill And Intangible Assets [Line Items] | |||||||||||
| Impairment of intangible assets | 224 | ||||||||||
| Customer relationships | |||||||||||
| Goodwill And Intangible Assets [Line Items] | |||||||||||
| Amortization | $ 2,404 | ||||||||||
| X | ||||||||||
| 
- Definition Goodwill and intangible assets. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amortization of property, plant and equipment directly related to goods produced and sold and services rendered by an entity during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition The aggregate direct operating costs incurred during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of an intangible asset (excluding goodwill) to fair value. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |