pre_text: The Company recognizes these compensation costs on a straight-line basis over the requisite service period of the award, which is generally the award vesting term of four years. Forfeitures are accounted for as they occur. Total stock-based compensation cost capitalized in inventory was less than $0.8 million in the years ended December 31, 2019, 2018 and 2017. As of December 31, 2019, $7.8 million of unrecognized compensation cost related to stock options is expected to be recognized over a weighted-average period of 2.1 years and $41.3 million of unrecognized compensation cost related to unvested RSUs is expected to be recognized over a weighted-average period of 2.2 years. If there are any modifications or cancellations of the underlying unvested awards, the Company may be required to accelerate, increase or cancel all or a portion of the remaining unearned stock-based compensation expense. The  following  table  sets  forth  the  stock-based  compensation  expense  resulting  from  stock  options,  RSUs,  and  the  ESPP  included  in  the  Company’s consolidated statements of operations:
table: Year Ended December 31,
table: 2019 2018 2017
table: (In thousands)
table: Cost of revenue $2,843 $2,435 $1,406
table: Research and development 6,532 4,283 2,968
table: Sales and marketing 9,069 8,267 5,481
table: General and administrative 10,693 11,476 9,114
table: Total $29,137 $26,461 $18,969
question: Analyse this data from a financial earnings document. What was the change in sales and marketing expenses from 2017 to 2018?