XML 29 R41.htm IDEA: XBRL DOCUMENT v3.19.3
Revenue - Contract liabilities recognized as revenue (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Sep. 30, 2019
Sep. 30, 2018
Revenue.        
Balance, beginning of the period $ 14,080 $ 15,175 $ 22,584 $ 18,145
Deferral of revenue 17,254 7,168 20,887 11,586
Recognition of deferred revenue (3,893) (4,569) (16,030) (11,957)
Balance, ending of the period $ 27,441 $ 17,774 $ 27,441 $ 17,774