Summary of Significant Accounting Policies - Schedule of Balance Sheet Accounts Impacted for Topic 606 (Details) - USD ($) $ in Thousands |
Dec. 31, 2019 |
Dec. 31, 2018 |
Jan. 01, 2018 |
|---|---|---|---|
| Revenue Initial Application Period Cumulative Effect Transition [Line Items] | |||
| Contract assets | $ 8,386 | $ 8,230 | |
| Inventory | 101,803 | 90,196 | |
| Deferred tax asset | 96,558 | 85,807 | |
| Contract liabilities—short-term | 6,766 | 3,169 | |
| Contract liabilities—long-term | 22,068 | 9,525 | |
| Accumulated deficit | $ (1,381,988) | $ (1,185,368) | |
| ASU 2014-09 | Adjustment | |||
| Revenue Initial Application Period Cumulative Effect Transition [Line Items] | |||
| Contract assets | $ 9,110 | ||
| Inventory | (8,209) | ||
| Deferred tax asset | 109 | ||
| Contract liabilities—short-term | (1,104) | ||
| Contract liabilities—long-term | (724) | ||
| Accumulated deficit | $ 818 |