Balance Sheet Components [Abstract] | Period [Axis] |
---|
2016-01-01 - 2016-12-31 |
---|
Balance Sheet Components [Abstract] | |
Schedule of Available-for-sale Securities Reconciliation | The following table summarizes the unrealized gains and losses and fair value of our available-for-sale marketable securities (in thousands): | | | | | | | | | | | | | | | | | | December 31, 2016 | | Amortized Cost | | Unrealized Gains | | Unrealized Losses | | Fair Value | Commercial paper | $ | 5,962 |
| | $ | — |
| | $ | — |
| | $ | 5,962 |
| U.S. government notes | 110,945 |
| | 5 |
| | (194 | ) | | 110,756 |
| Corporate bonds | 183,455 |
| | 109 |
| | (372 | ) | | 183,192 |
| Total marketable securities | $ | 300,362 |
| | $ | 114 |
| | $ | (566 | ) | | $ | 299,910 |
|
|
Schedule of Available-For-Sale Securities by Remaining Contractual Maturities | The fair values of available-for-sale investments, by remaining contractual maturity, are as follows (in thousands):
| | | | | | | | December 31, 2016 | Due in 1 year or less | | $ | 140,879 |
| Due in 1 year through 2 years | | 159,031 |
| Total marketable securities | | $ | 299,910 |
|
|
Schedule of Accounts Receivable | Accounts Receivable, net Accounts receivable, net consists of the following (in thousands): | | | | | | | | | | December 31, | | 2016 | | 2015 | Accounts receivable | $ | 254,640 |
| | $ | 145,792 |
| Allowance for doubtful accounts | (204 | ) | | (963 | ) | Product sales return reserve | (1,317 | ) | | (566 | ) | Accounts receivable, net | $ | 253,119 |
| | $ | 144,263 |
|
Allowance for Doubtful Accounts Activity in the allowance for doubtful accounts consists of the following (in thousands): | | | | | | | | | | | | | | Year Ended December 31, | | 2016 | | 2015 | | 2014 | Balance at the beginning of year | $ | 963 |
| | $ | 1,063 |
| | $ | 810 |
| Charged (credited) to expense | (292 | ) | | 335 |
| | 860 |
| Deductions (write-offs) | (467 | ) | | (435 | ) | | (607 | ) | Balance at the end of year | $ | 204 |
| | $ | 963 |
| | $ | 1,063 |
|
Product Sales Return Reserve Activity in the sales return reserve consists of the following (in thousands): | | | | | | | | | | | | | | Year Ended December 31, | | 2016 | | 2015 | | 2014 | Balance at the beginning of year | $ | 566 |
| | $ | 2,031 |
| | $ | 1,529 |
| Charged against revenue | 3,791 |
| | 2,798 |
| | 4,063 |
| Deductions | (4,371 | ) | | (2,283 | ) | | (2,943 | ) | Change in estimate | 1,331 |
| | (1,980 | ) | | (618 | ) | Balance at the end of year | $ | 1,317 |
| | $ | 566 |
| | $ | 2,031 |
|
|
Schedule of Inventories | Inventories consist of the following (in thousands): | | | | | | | | | | December 31, | | 2016 | | 2015 | Raw materials | $ | 99,190 |
| | $ | 29,831 |
| Finished goods | 137,300 |
| | 62,298 |
| Total inventories | $ | 236,490 |
| | $ | 92,129 |
|
|
Schedule of Other Current Assets | Prepaid expenses and other current assets consists of the following (in thousands): | | | | | | | | | | December 31, | | 2016 | | 2015 | Inventory deposit | $ | 60,315 |
| | $ | — |
| Prepaid income taxes | 17,383 |
| | 14,150 |
| Other current assets | 79,140 |
| | 29,270 |
| Other prepaid expenses and deposits | 11,846 |
| | 7,190 |
| Total prepaid expenses and other current assets | $ | 168,684 |
| | $ | 50,610 |
|
|
Schedule of Property and Equipment, net | Property and equipment, net consists of the following (in thousands): | | | | | | | | | | December 31, | | 2016 | | 2015 | Equipment and machinery | $ | 40,721 |
| | $ | 29,101 |
| Computer hardware and software | 17,420 |
| | 12,630 |
| Furniture and fixtures | 2,879 |
| | 2,380 |
| Leasehold improvements | 29,498 |
| | 24,372 |
| Building | 35,154 |
| | 35,154 |
| Construction-in-process | 421 |
| | 6,408 |
| Property and equipment, gross | 126,093 |
| | 110,045 |
| Less: accumulated depreciation | (49,132 | ) | | (30,339 | ) | Property and equipment, net | $ | 76,961 |
| | $ | 79,706 |
|
|
Schedule of Accrued Liabilities | Accrued liabilities consist of the following (in thousands): | | | | | | | | | | December 31, | | 2016 | | 2015 | Accrued payroll related costs | $ | 52,854 |
| | $ | 39,479 |
| Accrued warranty costs | 6,744 |
| | 4,718 |
| Accrued manufacturing costs | 14,824 |
| | 6,397 |
| Accrued professional fees | 6,829 |
| | 4,875 |
| Accrued taxes | 1,098 |
| | 1,347 |
| Other | 8,602 |
| | 4,155 |
| Total accrued liabilities | $ | 90,951 |
| | $ | 60,971 |
|
|
Schedule of Warranty Accrual | The following table summarizes the activity related to our accrued liability for estimated future warranty costs (in thousands): | | | | | | | | | | Year Ended December 31, | | 2016 | | 2015 | Warranty accrual, beginning of year | $ | 4,718 |
| | $ | 3,204 |
| Liabilities accrued for warranties issued during the year | $ | 5,421 |
| | 3,973 |
| Warranty costs incurred during the year | (3,395 | ) | | (2,459 | ) | Warranty accrual, end of year | $ | 6,744 |
| | $ | 4,718 |
|
|