XML 45 R34.htm IDEA: XBRL DOCUMENT
v3.19.1

Fair Value Measurements (Fair value hierarchy for its financial assets and liabilities) (Details) - USD ($) $ in Thousands | Mar. 31, 2019 | Dec. 31, 2018
--- | --- | ---
Level 1 [Member] |  |  |
Assets |  |  |
Total assets |  | $ 49,113 | $ 39,168
Liabilities |  |  |
Convertible notes payable |  | 0 | 0
Level 1 [Member] | Money Market Funds [Member] |  |  |
Assets |  |  |
Total assets | [1] | 49,113 | 39,168
Level 1 [Member] | Asset-backed securities [Member] |  |  |
Assets |  |  |
Total assets | [2] | 0 | 0
Level 1 [Member] | Corporate Debt Securities [Member] |  |  |
Assets |  |  |
Total assets | [3] | 0 | 0
Level 2 [Member] |  |  |
Assets |  |  |
Total assets |  | 41,712 | 46,216
Liabilities |  |  |
Convertible notes payable |  | 117,267 | 197,935
Level 2 [Member] | Money Market Funds [Member] |  |  |
Assets |  |  |
Total assets | [1] | 0 | 0
Level 2 [Member] | Asset-backed securities [Member] |  |  |
Assets |  |  |
Total assets | [2] | 15,000 | 19,997
Level 2 [Member] | Corporate Debt Securities [Member] |  |  |
Assets |  |  |
Total assets | [3] | 26,712 | 26,219
Level 3 [Member] |  |  |
Assets |  |  |
Total assets |  | 0 | 0
Liabilities |  |  |
Convertible notes payable |  | 0 | 0
Level 3 [Member] | Money Market Funds [Member] |  |  |
Assets |  |  |
Total assets | [1] | 0 | 0
Level 3 [Member] | Asset-backed securities [Member] |  |  |
Assets |  |  |
Total assets | [2] | 0 | 0
Level 3 [Member] | Corporate Debt Securities [Member] |  |  |
Assets |  |  |
Total assets | [3] | $ 0 | $ 0
[1] | Classified as cash and cash equivalents as of March 31, 2019 and December 31, 2018, respectively, on the consolidated balance sheets.
[2] | Includes $15,000 classified as cash and cash equivalents as of both March 31, 2019 and December 31, 2018 on the consolidated balance sheets.
[3] | Includes $24,228 and $9,236 classified as cash and cash equivalents as of March 31, 2019 and December 31, 2018, respectively, on the consolidated balance sheet.

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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=99377789&loc=d3e19207-110258 + 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_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: |