Equity (Schedule of Stock-based Compensation) (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jun. 30, 2018 |
Jun. 30, 2017 |
Jun. 30, 2018 |
Jun. 30, 2017 |
|
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Total stock-based compensation expenses | $ 4,278 | $ 5,331 | $ 7,693 | $ 9,235 |
Cost of sales [Member] | ||||
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Total stock-based compensation expenses | 442 | 799 | 829 | 1,442 |
Research and development, net [Member] | ||||
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Total stock-based compensation expenses | 938 | 1,089 | 1,680 | 1,938 |
Selling, general and administrative [Member] | ||||
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Total stock-based compensation expenses | $ 2,898 | $ 3,443 | $ 5,184 | $ 5,855 |