Commitments and Contingencies - Capital Leases (Details) - USD ($) $ in Thousands |
|
3 Months Ended |
9 Months Ended |
12 Months Ended |
Oct. 01, 2016 |
Sep. 30, 2016 |
Sep. 30, 2016 |
Dec. 31, 2015 |
| Restricted Cash |
|
|
|
|
| Cash added to the restricted accounts |
|
$ 0
|
$ 0
|
$ 14,200
|
| Letter of credit with Silicon Valley Bank |
|
1,000
|
1,000
|
|
| Sale Leaseback Agreements |
|
|
|
|
| Restricted Cash |
|
|
|
|
| Restricted cash |
|
44,900
|
44,900
|
|
| Capital Leases |
|
|
|
|
| Total Payments of future minimum lease payments |
|
|
|
|
| Remainder of 2016 |
|
1,765
|
1,765
|
|
| 2017 |
|
16,313
|
16,313
|
|
| 2018 |
|
10,665
|
10,665
|
|
| 2019 |
|
3,436
|
3,436
|
|
| 2020 |
|
3,436
|
3,436
|
|
| Thereafter |
|
5,125
|
5,125
|
|
| Total future minimum lease payments |
|
40,740
|
40,740
|
|
| Imputed Interest of future minimum lease payments |
|
|
|
|
| Remainder of 2016 |
|
1,198
|
1,198
|
|
| 2017 |
|
4,201
|
4,201
|
|
| 2018 |
|
2,060
|
2,060
|
|
| 2019 |
|
1,431
|
1,431
|
|
| 2020 |
|
1,080
|
1,080
|
|
| Thereafter |
|
819
|
819
|
|
| Total future minimum lease payments: Imputed Interest |
|
10,789
|
10,789
|
|
| Net Present Value of future minimum lease payments |
|
|
|
|
| Remainder of 2016 |
|
567
|
567
|
|
| 2017 |
|
12,112
|
12,112
|
|
| 2018 |
|
8,605
|
8,605
|
|
| 2019 |
|
2,005
|
2,005
|
|
| 2020 |
|
2,356
|
2,356
|
|
| Thereafter |
|
4,306
|
4,306
|
|
| Total future minimum lease payments: Net Present Value |
|
29,951
|
29,951
|
|
| Cash received for future services |
|
13,400
|
13,400
|
15,100
|
| Subsequent event |
|
|
|
|
| Restricted Cash |
|
|
|
|
| Cash added to the restricted accounts |
$ 12,000
|
|
|
|
| Subsequent event | Sale Leaseback Agreements |
|
|
|
|
| Restricted Cash |
|
|
|
|
| Cash added to the restricted accounts |
$ 12,000
|
|
|
|
| Long-term debt | Capital Leases |
|
|
|
|
| Sale Leaseback Transaction [Line Items] |
|
|
|
|
| Sale-leaseback liability |
|
30,000
|
30,000
|
|
| Finance obligation |
|
|
|
|
| Sale Leaseback Transaction [Line Items] |
|
|
|
|
| Sale-leaseback liability |
|
$ 2,400
|
$ 2,400
|
$ 2,500
|