Net (Gains) Losses Reclassified from Accumulated Other Comprehensive Income (Loss) (Detail) - Derivatives designated as cash flow hedging instruments - USD ($) $ in Thousands |
12 Months Ended |
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
| Derivative Instruments, Gain (Loss) [Line Items] |
|
|
|
| Gain (loss) recognized in other comprehensive income (loss), Effective portion, Net, Total |
$ 158
|
$ 177
|
$ (430)
|
| Gain (loss) reclassified from accumulated OCI into income, Effective portion, Net, Total |
(161)
|
(104)
|
382
|
| Foreign exchange option contracts |
|
|
|
| Derivative Instruments, Gain (Loss) [Line Items] |
|
|
|
| Gain (loss) recognized in other comprehensive income (loss), Effective portion, Net, Total |
67
|
83
|
(389)
|
| Gain (loss) reclassified from accumulated OCI into income, Effective portion, Net, Total |
(67)
|
(31)
|
337
|
| Foreign exchange forward contracts |
|
|
|
| Derivative Instruments, Gain (Loss) [Line Items] |
|
|
|
| Gain (loss) recognized in other comprehensive income (loss), Effective portion, Net, Total |
91
|
94
|
(41)
|
| Gain (loss) reclassified from accumulated OCI into income, Effective portion, Net, Total |
$ (94)
|
$ (73)
|
$ 45
|