XML 53 R41.htm IDEA: XBRL DOCUMENT v3.19.2
Revenue - Contract liabilities recognized as revenue (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Revenue.        
Balance, beginning of the period $ 20,481 $ 18,522 $ 22,584 $ 18,145
Deferral of revenue 3,943 5,440 6,225 7,647
Recognition of deferred revenue (10,344) (8,787) (14,729) (10,617)
Balance, ending of the period $ 14,080 $ 15,175 $ 14,080 $ 15,175