XML 42 R31.htm IDEA: XBRL DOCUMENT
v3.5.0.2

Fair Value Measurements (Fair value hierarchy for its financial assets and liabilities) (Details) - USD ($) $ in Thousands | Sep. 30, 2016 | Dec. 31, 2015
--- | --- | ---
Level 1 [Member] |  |
Assets |  |
Total assets | $ 89,623 | $ 14,950
Liabilities |  |
Convertible notes payable | 0 | 0
Level 1 [Member] | Money market funds [Member] |  |
Assets |  |
Total assets | 89,623 | 14,950
Level 1 [Member] | U.S. Treasury securities [Member] |  |
Assets |  |
Total assets | 0 | 0
Level 1 [Member] | Government-backed security [Member] |  |
Assets |  |
Total assets | 0 | 0
Level 1 [Member] | Asset-backed securities [Member] |  |
Assets |  |
Total assets | 0 | 0
Level 1 [Member] | Corporate Debt Securities [Member] |  |
Assets |  |
Total assets | 0 | 0
Level 2 [Member] |  |
Assets |  |
Total assets | 202,335 | 186,137
Liabilities |  |
Convertible notes payable | 176,774 | 0
Level 2 [Member] | Money market funds [Member] |  |
Assets |  |
Total assets | 0 | 0
Level 2 [Member] | U.S. Treasury securities [Member] |  |
Assets |  |
Total assets | 15,078 | 0
Level 2 [Member] | Government-backed security [Member] |  |
Assets |  |
Total assets | 22,000 | 20,000
Level 2 [Member] | Asset-backed securities [Member] |  |
Assets |  |
Total assets | 43,151 | 28,924
Level 2 [Member] | Corporate Debt Securities [Member] |  |
Assets |  |
Total assets | 122,106 | 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] | U.S. Treasury securities [Member] |  |
Assets |  |
Total assets | 0 | 0
Level 3 [Member] | Government-backed security [Member] |  |
Assets |  |
Total assets | 0 | 0
Level 3 [Member] | Asset-backed securities [Member] |  |
Assets |  |
Total assets | 0 | 0
Level 3 [Member] | Corporate Debt Securities [Member] |  |
Assets |  |
Total assets | $ 0 | $ 0

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_USTreasurySecuritiesMember
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: |