XML 58 R40.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Fair Value Measurements (Fair value hierarchy for its financial assets and liabilities) (Details) - USD ($) $ in Thousands | Dec. 31, 2016 | Dec. 31, 2015
--- | --- | ---
Level 1 [Member] |  |  |
Assets |  |  |
Total assets |  | $ 95,896 | $ 14,950
Liabilities |  |  |
Convertible notes payable |  | 0 | 0
Level 1 [Member] | Money market funds [Member] |  |  |
Assets |  |  |
Total assets |  | 95,896 | 14,950
Level 1 [Member] | Government-backed securities [Member] |  |  |
Assets |  |  |
Total assets |  | 0 | 0
Level 1 [Member] | Asset-backed securities [Member] |  |  |
Assets |  |  |
Total assets | [1] | 0 | 0
Level 1 [Member] | Corporate Debt Securities [Member] |  |  |
Assets |  |  |
Total assets | [2] | 0 | 0
Level 2 [Member] |  |  |
Assets |  |  |
Total assets |  | 122,102 | 186,137
Liabilities |  |  |
Convertible notes payable |  | 141,989 | 0
Level 2 [Member] | Money market funds [Member] |  |  |
Assets |  |  |
Total assets |  | 0 | 0
Level 2 [Member] | Government-backed securities [Member] |  |  |
Assets |  |  |
Total assets |  | 19,000 | 20,000
Level 2 [Member] | Asset-backed securities [Member] |  |  |
Assets |  |  |
Total assets | [1] | 23,632 | 28,924
Level 2 [Member] | Corporate Debt Securities [Member] |  |  |
Assets |  |  |
Total assets | [2] | 79,470 | 137,213
Level 3 [Member] |  |  |
Assets |  |  |
Total assets |  | 0 | 0
Liabilities |  |  |
Convertible notes payable |  | 0 | 0
Level 3 [Member] | Money market funds [Member] |  |  |
Assets |  |  |
Total assets |  | 0 | 0
Level 3 [Member] | Government-backed securities [Member] |  |  |
Assets |  |  |
Total assets |  | 0 | 0
Level 3 [Member] | Asset-backed securities [Member] |  |  |
Assets |  |  |
Total assets | [1] | 0 | 0
Level 3 [Member] | Corporate Debt Securities [Member] |  |  |
Assets |  |  |
Total assets | [2] | $ 0 | $ 0
[1] | Includes $8,185 classified as cash and cash equivalents as of December 31, 2015 (see Note 3).
[2] | Includes $11,976 and $20,404 classified as cash and cash equivalents as of December 31, 2016 and 2015, respectively (see Note 3).

X
- References No definition available. + Details
Name: | us-gaap_AssetsFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of financial obligations, including, but not limited to, debt instruments, derivative liabilities, federal funds purchased and sold under agreements to repurchase, securities loaned or sold under agreements to repurchase, financial instruments sold not yet purchased, guarantees, line of credit, loans and notes payable, servicing liability, and trading liabilities. + References No definition available. + Details
Name: | us-gaap_FinancialLiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(12)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Trading Securities -URI http://asc.fasb.org/extlink&oid=6526789 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(5)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 35 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=27723805&loc=d3e24584-111560 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=65884222&loc=d3e22054-111558 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 9: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Available-for-Sale Securities -URI http://asc.fasb.org/extlink&oid=6505594 + Details
Name: | us-gaap_InvestmentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_LiabilitiesFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_USGovernmentDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_AssetBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |