CONSOLIDATED STATEMENT OF STOCKHOLDERS’ EQUITY (Parenthetical)
Mar. 31, 2018
Convertible Notes | 1.625% Convertible Notes  
Debt Instrument [Line Items]  
Percentage of contractual interest rate 1.625%